You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by ka...@apache.org on 2020/08/18 19:02:41 UTC

[airflow] branch v1-10-test updated: Fix failing insert-license pre-commit check

This is an automated email from the ASF dual-hosted git repository.

kaxilnaik pushed a commit to branch v1-10-test
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/v1-10-test by this push:
     new 090f231  Fix failing insert-license pre-commit check
090f231 is described below

commit 090f2311031f992e5657dbb3ff1bd01bc94612b2
Author: Kaxil Naik <ka...@gmail.com>
AuthorDate: Tue Aug 18 20:01:36 2020 +0100

    Fix failing insert-license pre-commit check
---
 .pre-commit-config.yaml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index eb91828..1fcd49d 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -22,7 +22,7 @@ default_language_version:
 minimum_pre_commit_version: "1.20.0"
 repos:
   - repo: https://github.com/Lucas-C/pre-commit-hooks
-    rev: v1.1.8
+    rev: v1.1.9
     hooks:
       - id: forbid-tabs
         exclude: ^docs/Makefile$
@@ -100,7 +100,7 @@ repos:
       - id: insert-license
         name: Add license for all XML files
         exclude: ^\.github/.*$
-        types: [xml]
+        files: .*\.xml$
         args:
           - --comment-style
           - "<!--||-->"