From b6fd6c712163cf881097beb6beb4eb9b4a1bbf8f Mon Sep 17 00:00:00 2001 From: Andrey Anshin Date: Tue, 2 Apr 2024 11:56:01 +0400 Subject: [PATCH] Rename pre-commit script --- .pre-commit-config.yaml | 2 +- ...it_compat_cache_on_methods.py => compat_cache_on_methods.py} | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename scripts/ci/pre_commit/{pre_commit_compat_cache_on_methods.py => compat_cache_on_methods.py} (100%) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index e1090c185a120..e2a025f5130ef 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -987,7 +987,7 @@ repos: additional_dependencies: ['rich>=12.4.4'] - id: check-compat-cache-on-methods name: Check that compat cache do not use on class methods - entry: ./scripts/ci/pre_commit/pre_commit_compat_cache_on_methods.py + entry: ./scripts/ci/pre_commit/compat_cache_on_methods.py language: python pass_filenames: true files: ^airflow/.*\.py$ diff --git a/scripts/ci/pre_commit/pre_commit_compat_cache_on_methods.py b/scripts/ci/pre_commit/compat_cache_on_methods.py similarity index 100% rename from scripts/ci/pre_commit/pre_commit_compat_cache_on_methods.py rename to scripts/ci/pre_commit/compat_cache_on_methods.py