diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 36a9987c0b7bc..76033117c6e9b 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -400,7 +400,7 @@ repos: name: Check and update common.sql API stubs entry: ./scripts/ci/pre_commit/pre_commit_update_common_sql_api_stubs.py language: python - files: ^scripts/ci/pre_commit/pre_commit_update_common_sql_api\.py|^airflow/providers/common/sql/.*\.py[i]$ + files: ^scripts/ci/pre_commit/pre_commit_update_common_sql_api\.py|^airflow/providers/common/sql/.*\.pyi?$ additional_dependencies: ['rich>=12.4.4', 'mypy==0.971', 'black==22.3.0'] pass_filenames: false require_serial: true