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 2021/01/21 20:19:53 UTC
[airflow] 28/44: Skip identity pre-commit in ci and always display
it first
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
commit 408ed13e35a90b147e633b21ae9e781d3635fa8e
Author: Jarek Potiuk <ja...@potiuk.com>
AuthorDate: Wed Dec 16 13:17:50 2020 +0100
Skip identity pre-commit in ci and always display it first
(cherry picked from commit 76f2215b95ab8da0d3c4e821138b6dd4275b7c79)
---
.github/workflows/ci.yml | 4 ++--
.pre-commit-config.yaml | 8 ++++----
2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 33fb5d4..a449d2c 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -207,7 +207,7 @@ jobs:
runs-on: ubuntu-20.04
needs: [build-info, ci-images]
env:
- SKIP: "pylint"
+ SKIP: "pylint,identity"
MOUNT_LOCAL_SOURCES: "true"
PYTHON_MAJOR_MINOR_VERSION: ${{needs.build-info.outputs.defaultPythonVersion}}
if: needs.build-info.outputs.basic-checks-only == 'false'
@@ -243,7 +243,7 @@ jobs:
runs-on: ubuntu-20.04
needs: [build-info]
env:
- SKIP: "build,mypy,flake8,pylint,bats-in-container-tests"
+ SKIP: "build,mypy,flake8,pylint,bats-in-container-tests,identity"
MOUNT_LOCAL_SOURCES: "true"
PYTHON_MAJOR_MINOR_VERSION: ${{needs.build-info.outputs.defaultPythonVersion}}
if: needs.build-info.outputs.basic-checks-only == 'true'
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 2e9edda..2e6207d 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -21,6 +21,10 @@ default_language_version:
python: python3
minimum_pre_commit_version: "1.20.0"
repos:
+ - repo: meta
+ hooks:
+ - id: identity
+ - id: check-hooks-apply
- repo: https://github.com/Lucas-C/pre-commit-hooks
rev: v1.1.9
hooks:
@@ -146,10 +150,6 @@ repos:
args:
- "--maxlevel"
- "2"
- - repo: meta
- hooks:
- - id: identity
- - id: check-hooks-apply
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v3.3.0
hooks: