diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 73f6243e58561..5d451432cbb8b 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -26,7 +26,7 @@ repos: - id: identity - id: check-hooks-apply - repo: https://github.com/Lucas-C/pre-commit-hooks - rev: v1.1.10 + rev: v1.1.13 hooks: - id: forbid-tabs exclude: ^docs/Makefile$|^clients/gen/go.sh|\.gitmodules$|^airflow/_vendor/ @@ -143,7 +143,7 @@ repos: files: \.mermaid$ exclude: ^airflow/_vendor/ - repo: https://github.com/thlorenz/doctoc.git - rev: v2.0.1 + rev: v2.1.0 hooks: - id: doctoc name: Add TOC for md files @@ -154,19 +154,19 @@ repos: - "--maxlevel" - "2" - repo: https://github.com/psf/black - rev: 21.9b0 + rev: 22.1.0 hooks: - id: black args: [--config=./pyproject.toml] exclude: ^airflow/_vendor/ - repo: https://github.com/asottile/blacken-docs - rev: v1.11.0 + rev: v1.12.1 hooks: - id: blacken-docs alias: black additional_dependencies: [black==21.9b0] - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.0.1 + rev: v4.1.0 hooks: - id: check-merge-conflict - id: debug-statements @@ -196,7 +196,7 @@ repos: files: ^chart/values\.schema\.json$|^chart/values_schema\.schema\.json$ pass_filenames: true - repo: https://github.com/asottile/pyupgrade - rev: v2.29.0 + rev: v2.31.1 hooks: - id: pyupgrade args: ["--py36-plus"] @@ -216,8 +216,8 @@ repos: entry: yamllint -c yamllint-config.yml --strict types: [yaml] exclude: ^.*init_git_sync\.template\.yaml$|^.*airflow\.template\.yaml$|^chart/(?:templates|files)/.*\.yaml$|openapi/.*\.yaml|pre-commit-config|^airflow/_vendor/ - - repo: https://github.com/timothycrosley/isort - rev: 5.9.3 + - repo: https://github.com/PyCQA/isort + rev: 5.10.1 hooks: - id: isort name: Run isort to sort imports in Python files @@ -244,7 +244,7 @@ repos: ^airflow/_vendor/ additional_dependencies: ['toml'] - repo: https://github.com/asottile/yesqa - rev: v1.2.3 + rev: v1.3.0 hooks: - id: yesqa exclude: | @@ -252,7 +252,7 @@ repos: ^airflow/_vendor/ additional_dependencies: ['flake8>=4.0.1'] - repo: https://github.com/ikamensh/flynt - rev: '0.69' + rev: '0.76' hooks: - id: flynt exclude: |