This is an automated email from the ASF dual-hosted git repository.
potiuk pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/main by this push:
new 725a9b6cab Rename pre-commit scripts, drop pre_commit_ prefix (#38667)
725a9b6cab is described below
commit 725a9b6cabcf8b6814de883db361eca6f58fd16b
Author: Tzu-ping Chung <[email protected]>
AuthorDate: Tue Apr 2 14:03:27 2024 +0800
Rename pre-commit scripts, drop pre_commit_ prefix (#38667)
We don't reference those scripts only by name anywhere (always by the
full path or the pre-commit ID). The pre-commit part is already evident
from them being inside a pre_commit directory. This makes paths shorter
and those files a bit easier to browse in a file browser (including ls).
---
.github/workflows/ci-image-build.yml | 2 +-
.github/workflows/prod-image-build.yml | 2 +-
.pre-commit-config.yaml | 184 ++++++++++-----------
README.md | 2 +-
contributing-docs/05_pull_requests.rst | 2 +-
dev/README_RELEASE_AIRFLOW.md | 4 +-
.../airflow_breeze/commands/ci_image_commands.py | 2 +-
.../src/airflow_breeze/utils/md5_build_check.py | 2 +-
docs/apache-airflow/database-erd-ref.rst | 2 +-
.../installation/supported-versions.rst | 2 +-
docs/apache-airflow/migrations-ref.rst | 2 +-
...ments.py => base_operator_partial_arguments.py} | 0
...re_commit_boring_cyborg.py => boring_cyborg.py} | 0
...ommit_breeze_cmd_line.py => breeze_cmd_line.py} | 0
...gelog_duplicates.py => changelog_duplicates.py} | 0
...{pre_commit_chart_schema.py => chart_schema.py} | 0
...e_optional.py => check_aiobotocore_optional.py} | 0
...ate.py => check_airflow_bug_report_template.py} | 0
...s_not_used.py => check_airflow_k8s_not_used.py} | 0
...> check_cncf_k8s_used_for_k8s_executor_only.py} | 0
...ependency.py => check_common_sql_dependency.py} | 0
...able_default.py => check_deferrable_default.py} | 0
...packages_ref.py => check_extra_packages_ref.py} | 0
..._re2_imports.py => check_google_re2_imports.py} | 0
...eck_init_in_tests.py => check_init_in_tests.py} | 0
...grations_list.py => check_integrations_list.py} | 0
...check_lazy_logging.py => check_lazy_logging.py} | 0
...re_commit_check_license.py => check_license.py} | 0
..._extras.py => check_order_dockerfile_extras.py} | 0
...r_hatch_build.py => check_order_hatch_build.py} | 0
...e_commit_hooks.py => check_pre_commit_hooks.py} | 0
....py => check_provider_airflow_compatibility.py} | 0
...eck_provider_docs.py => check_provider_docs.py} | 0
..._yaml_files.py => check_provider_yaml_files.py} | 0
...k_providers_init.py => check_providers_init.py} | 0
...> check_providers_subpackages_all_have_init.py} | 0
...check_system_tests.py => check_system_tests.py} | 0
...ex.py => check_system_tests_hidden_in_index.py} | 0
..._folders.py => check_tests_in_right_folders.py} | 2 +-
...o_credentials.py => checkout_no_credentials.py} | 0
...compile_www_assets.py => compile_www_assets.py} | 0
...www_assets_dev.py => compile_www_assets_dev.py} | 0
...> decorator_operator_implements_custom_name.py} | 0
...tring_param_type.py => docstring_param_type.py} | 0
...ow_diagrams.py => generate_airflow_diagrams.py} | 0
...rate_pypi_readme.py => generate_pypi_readme.py} | 0
.../{pre_commit_helm_lint.py => helm_lint.py} | 0
...ts_in_docker.py => inline_scripts_in_docker.py} | 0
...re_commit_insert_extras.py => insert_extras.py} | 0
.../{pre_commit_json_schema.py => json_schema.py} | 0
.../{pre_commit_kubeconform.py => kubeconform.py} | 0
...ommit_lint_dockerfile.py => lint_dockerfile.py} | 0
...mit_local_yml_mounts.py => local_yml_mounts.py} | 0
...gration_reference.py => migration_reference.py} | 0
.../ci/pre_commit/{pre_commit_mypy.py => mypy.py} | 0
.../{pre_commit_mypy_folder.py => mypy_folder.py} | 0
...ession.py => new_session_in_provide_session.py} | 0
...re_commit_newsfragments.py => newsfragments.py} | 0
...bad_characters.py => replace_bad_characters.py} | 0
.../{pre_commit_ruff_format.py => ruff_format.py} | 0
...mit_sort_in_the_wild.py => sort_in_the_wild.py} | 0
...ed_providers.py => sort_installed_providers.py} | 0
...lling_wordlist.py => sort_spelling_wordlist.py} | 0
...supported_versions.py => supported_versions.py} | 0
...nc_init_decorator.py => sync_init_decorator.py} | 0
...xt_key_sync.py => template_context_key_sync.py} | 0
...t_unittest_testcase.py => unittest_testcase.py} | 0
...te_black_version.py => update_black_version.py} | 0
...config_hash.py => update_breeze_config_hash.py} | 0
...ependencies.py => update_build_dependencies.py} | 0
...ependencies.py => update_chart_dependencies.py} | 0
...api_stubs.py => update_common_sql_api_stubs.py} | 0
...t_update_er_diagram.py => update_er_diagram.py} | 0
..._dags_paths.py => update_example_dags_paths.py} | 0
...t_update_installers.py => update_installers.py} | 0
...dencies.py => update_providers_dependencies.py} | 0
...sum => update_providers_dependencies.py.md5sum} | 0
...e_date_epoch.py => update_source_date_epoch.py} | 0
...ommit_update_versions.py => update_versions.py} | 0
...perators_init.py => validate_operators_init.py} | 0
...8s_json_schema.py => vendor_k8s_json_schema.py} | 0
...t_version_heads_map.py => version_heads_map.py} | 2 +-
.../{pre_commit_www_lint.py => www_lint.py} | 0
83 files changed, 105 insertions(+), 105 deletions(-)
diff --git a/.github/workflows/ci-image-build.yml
b/.github/workflows/ci-image-build.yml
index cd11376a82..d9ae80dad1 100644
--- a/.github/workflows/ci-image-build.yml
+++ b/.github/workflows/ci-image-build.yml
@@ -192,7 +192,7 @@ ${{ inputs.do-build == 'true' && inputs.image-tag || '' }}"
shell: bash
run: |
pip install rich>=12.4.4 pyyaml
- python
scripts/ci/pre_commit/pre_commit_update_providers_dependencies.py
+ python scripts/ci/pre_commit/update_providers_dependencies.py
if: inputs.do-build == 'true' && inputs.upgrade-to-newer-dependencies
!= 'false'
- name: "Start ARM instance"
run: ./scripts/ci/images/ci_start_arm_instance_and_connect_to_docker.sh
diff --git a/.github/workflows/prod-image-build.yml
b/.github/workflows/prod-image-build.yml
index 5643724a8b..6ea5135c6a 100644
--- a/.github/workflows/prod-image-build.yml
+++ b/.github/workflows/prod-image-build.yml
@@ -278,7 +278,7 @@ ${{ inputs.do-build == 'true' && inputs.image-tag || '' }}"
shell: bash
run: |
pip install rich>=12.4.4 pyyaml
- python
scripts/ci/pre_commit/pre_commit_update_providers_dependencies.py
+ python scripts/ci/pre_commit/update_providers_dependencies.py
if: inputs.do-build == 'true' && inputs.upgrade-to-newer-dependencies
!= 'false'
- name: "Cleanup dist and context file"
shell: bash
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 164a2b7aa9..f56fadc21d 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -169,15 +169,15 @@ repos:
hooks:
- id: update-common-sql-api-stubs
name: Check and update common.sql API stubs
- entry:
./scripts/ci/pre_commit/pre_commit_update_common_sql_api_stubs.py
+ entry: ./scripts/ci/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/.*\.pyi?$
+ files:
^scripts/ci/pre_commit/update_common_sql_api\.py|^airflow/providers/common/sql/.*\.pyi?$
additional_dependencies: ['rich>=12.4.4', 'mypy==1.9.0',
'black==23.10.0', 'jinja2']
pass_filenames: false
require_serial: true
- id: update-black-version
name: Update black versions everywhere (manual)
- entry: ./scripts/ci/pre_commit/pre_commit_update_black_version.py
+ entry: ./scripts/ci/pre_commit/update_black_version.py
stages: ['manual']
language: python
files: ^.pre-commit-config.yaml$
@@ -186,28 +186,28 @@ repos:
require_serial: true
- id: update-build-dependencies
name: Update build-dependencies to latest (manual)
- entry: ./scripts/ci/pre_commit/pre_commit_update_build_dependencies.py
+ entry: ./scripts/ci/pre_commit/update_build_dependencies.py
stages: ['manual']
language: python
- files:
^.pre-commit-config.yaml$|^scripts/ci/pre_commit/pre_commit_update_build_dependencies.py$
+ files:
^.pre-commit-config.yaml$|^scripts/ci/pre_commit/update_build_dependencies.py$
pass_filenames: false
require_serial: true
- id: update-installers
name: Update installers to latest (manual)
- entry: ./scripts/ci/pre_commit/pre_commit_update_installers.py
+ entry: ./scripts/ci/pre_commit/update_installers.py
stages: ['manual']
language: python
- files:
^.pre-commit-config.yaml$|^scripts/ci/pre_commit/pre_commit_update_installers.py$
+ files:
^.pre-commit-config.yaml$|^scripts/ci/pre_commit/update_installers.py$
pass_filenames: false
require_serial: true
additional_dependencies: ['pyyaml', 'rich>=12.4.4', 'requests']
- id: update-chart-dependencies
name: Update chart dependencies to latest (manual)
- entry: ./scripts/ci/pre_commit/pre_commit_update_chart_dependencies.py
+ entry: ./scripts/ci/pre_commit/update_chart_dependencies.py
stages: ['manual']
language: python
additional_dependencies: ['pyyaml', 'rich>=12.4.4', 'requests']
- files:
^.pre-commit-config.yaml$|^scripts/ci/pre_commit/pre_commit_update_build_dependencies.py$
+ files:
^.pre-commit-config.yaml$|^scripts/ci/pre_commit/update_build_dependencies.py$
pass_filenames: false
require_serial: true
- repo: https://github.com/asottile/blacken-docs
@@ -323,7 +323,7 @@ repos:
- id: validate-operators-init
name: Prevent templated field logic checks in operators' __init__
language: python
- entry: ./scripts/ci/pre_commit/pre_commit_validate_operators_init.py
+ entry: ./scripts/ci/pre_commit/validate_operators_init.py
pass_filenames: true
files: ^airflow/providers/.*/(operators|transfers|sensors)/.*\.py$
additional_dependencies: [ 'rich>=12.4.4' ]
@@ -340,7 +340,7 @@ repos:
- id: ruff-format
name: Run 'ruff format' for extremely fast Python formatting
description: "Run 'ruff format' for extremely fast Python formatting"
- entry: ./scripts/ci/pre_commit/pre_commit_ruff_format.py
+ entry: ./scripts/ci/pre_commit/ruff_format.py
language: python
types_or: [python, pyi]
args: []
@@ -349,7 +349,7 @@ repos:
exclude: ^.*/.*_vendor/|^tests/dags/test_imports.py|^airflow/contrib/
- id: replace-bad-characters
name: Replace bad characters
- entry: ./scripts/ci/pre_commit/pre_commit_replace_bad_characters.py
+ entry: ./scripts/ci/pre_commit/replace_bad_characters.py
language: python
types: [file, text]
exclude: ^.*/.*_vendor/|^clients/gen/go\.sh$|^\.gitmodules$
@@ -368,7 +368,7 @@ repos:
- id: lint-dockerfile
name: Lint Dockerfile
language: python
- entry: ./scripts/ci/pre_commit/pre_commit_lint_dockerfile.py
+ entry: ./scripts/ci/pre_commit/lint_dockerfile.py
files: Dockerfile.*$
pass_filenames: true
require_serial: true
@@ -378,14 +378,14 @@ repos:
files: ^airflow/.*\.py$
require_serial: true
exclude: ^airflow/kubernetes/
- entry: ./scripts/ci/pre_commit/pre_commit_check_airflow_k8s_not_used.py
+ entry: ./scripts/ci/pre_commit/check_airflow_k8s_not_used.py
additional_dependencies: ['rich>=12.4.4']
- id: check-airflow-providers-bug-report-template
name: Check airflow-bug-report provider list is sorted/unique
language: python
files: ^.github/ISSUE_TEMPLATE/airflow_providers_bug_report\.yml$
require_serial: true
- entry:
./scripts/ci/pre_commit/pre_commit_check_airflow_bug_report_template.py
+ entry: ./scripts/ci/pre_commit/check_airflow_bug_report_template.py
additional_dependencies: ['rich>=12.4.4', 'pyyaml']
- id: check-cncf-k8s-only-for-executors
name: Check cncf.kubernetes imports used for executors only
@@ -393,18 +393,18 @@ repos:
files: ^airflow/.*\.py$
require_serial: true
exclude: ^airflow/kubernetes/|^airflow/providers/
- entry:
./scripts/ci/pre_commit/pre_commit_check_cncf_k8s_used_for_k8s_executor_only.py
+ entry:
./scripts/ci/pre_commit/check_cncf_k8s_used_for_k8s_executor_only.py
additional_dependencies: ['rich>=12.4.4']
- id: check-airflow-provider-compatibility
name: Check compatibility of Providers with Airflow
- entry:
./scripts/ci/pre_commit/pre_commit_check_provider_airflow_compatibility.py
+ entry: ./scripts/ci/pre_commit/check_provider_airflow_compatibility.py
language: python
pass_filenames: true
files: ^airflow/providers/.*\.py$
additional_dependencies: ['rich>=12.4.4']
- id: check-google-re2-as-dependency
name: Check google-re2 is declared as dependency when needed
- entry: ./scripts/ci/pre_commit/pre_commit_check_google_re2_imports.py
+ entry: ./scripts/ci/pre_commit/check_google_re2_imports.py
language: python
pass_filenames: true
require_serial: true
@@ -412,22 +412,22 @@ repos:
additional_dependencies: ['rich>=12.4.4']
- id: update-local-yml-file
name: Update mounts in the local yml file
- entry: ./scripts/ci/pre_commit/pre_commit_local_yml_mounts.py
+ entry: ./scripts/ci/pre_commit/local_yml_mounts.py
language: python
files:
^dev/breeze/src/airflow_breeze/utils/docker_command_utils\.py$|^scripts/ci/docker_compose/local\.yml$
pass_filenames: false
additional_dependencies: ['rich>=12.4.4']
- id: check-sql-dependency-common-data-structure
name: Check dependency of SQL Providers with common data structure
- entry:
./scripts/ci/pre_commit/pre_commit_check_common_sql_dependency.py
+ entry: ./scripts/ci/pre_commit/check_common_sql_dependency.py
language: python
files: ^airflow/providers/.*/hooks/.*\.py$
additional_dependencies: ['rich>=12.4.4', 'pyyaml', 'packaging']
- id: update-providers-dependencies
name: Update dependencies for provider packages
- entry:
./scripts/ci/pre_commit/pre_commit_update_providers_dependencies.py
+ entry: ./scripts/ci/pre_commit/update_providers_dependencies.py
language: python
- files:
^airflow/providers/.*\.py$|^airflow/providers/.*/provider\.yaml$|^tests/providers/.*\.py$|^tests/system/providers/.*\.py$|^scripts/ci/pre_commit/pre_commit_update_providers_dependencies\.py$
+ files:
^airflow/providers/.*\.py$|^airflow/providers/.*/provider\.yaml$|^tests/providers/.*\.py$|^tests/system/providers/.*\.py$|^scripts/ci/pre_commit/update_providers_dependencies\.py$
pass_filenames: false
additional_dependencies: ['setuptools', 'rich>=12.4.4', 'pyyaml',
'tomli']
- id: check-extra-packages-references
@@ -436,57 +436,57 @@ repos:
language: python
files: ^docs/apache-airflow/extra-packages-ref\.rst$|^hatch_build.py
pass_filenames: false
- entry: ./scripts/ci/pre_commit/pre_commit_check_extra_packages_ref.py
+ entry: ./scripts/ci/pre_commit/check_extra_packages_ref.py
additional_dependencies: ['rich>=12.4.4', 'hatchling==1.22.4',
'tabulate']
- id: check-hatch-build-order
name: Check order of dependencies in hatch_build.py
language: python
files: ^hatch_build.py$
pass_filenames: false
- entry: ./scripts/ci/pre_commit/pre_commit_check_order_hatch_build.py
+ entry: ./scripts/ci/pre_commit/check_order_hatch_build.py
additional_dependencies: ['rich>=12.4.4', 'hatchling==1.22.4']
- id: update-extras
name: Update extras in documentation
- entry: ./scripts/ci/pre_commit/pre_commit_insert_extras.py
+ entry: ./scripts/ci/pre_commit/insert_extras.py
language: python
files:
^contributing-docs/12_airflow_dependencies_and_extras.rst$|^INSTALL$|^airflow/providers/.*/provider\.yaml$|^Dockerfile.*
pass_filenames: false
additional_dependencies: ['rich>=12.4.4', 'hatchling==1.22.4']
- id: check-extras-order
name: Check order of extras in Dockerfile
- entry:
./scripts/ci/pre_commit/pre_commit_check_order_dockerfile_extras.py
+ entry: ./scripts/ci/pre_commit/check_order_dockerfile_extras.py
language: python
files: ^Dockerfile$
pass_filenames: false
additional_dependencies: ['rich>=12.4.4']
- id: generate-airflow-diagrams
name: Generate airflow diagrams
- entry: ./scripts/ci/pre_commit/pre_commit_generate_airflow_diagrams.py
+ entry: ./scripts/ci/pre_commit/generate_airflow_diagrams.py
language: python
files: ^docs/.*/diagram_[^/]*\.py$
pass_filenames: true
additional_dependencies: ['rich>=12.4.4', "diagrams>=0.23.4"]
- id: update-supported-versions
name: Updates supported versions in documentation
- entry: ./scripts/ci/pre_commit/pre_commit_supported_versions.py
+ entry: ./scripts/ci/pre_commit/supported_versions.py
language: python
- files:
^docs/apache-airflow/installation/supported-versions\.rst$|^scripts/ci/pre_commit/pre_commit_supported_versions\.py$|^README\.md$
+ files:
^docs/apache-airflow/installation/supported-versions\.rst$|^scripts/ci/pre_commit/supported_versions\.py$|^README\.md$
pass_filenames: false
additional_dependencies: ['tabulate']
- id: check-revision-heads-map
name: Check that the REVISION_HEADS_MAP is up-to-date
language: python
- entry: ./scripts/ci/pre_commit/pre_commit_version_heads_map.py
+ entry: ./scripts/ci/pre_commit/version_heads_map.py
pass_filenames: false
files: >
(?x)
- ^scripts/ci/pre_commit/pre_commit_version_heads_map\.py$|
+ ^scripts/ci/pre_commit/version_heads_map\.py$|
^airflow/migrations/versions/.*$|^airflow/migrations/versions|
^airflow/utils/db.py$
additional_dependencies: ['packaging','google-re2']
- id: update-version
name: Update version to the latest version in the documentation
- entry: ./scripts/ci/pre_commit/pre_commit_update_versions.py
+ entry: ./scripts/ci/pre_commit/update_versions.py
language: python
files: ^docs|^airflow/__init__.py$
pass_filenames: false
@@ -541,7 +541,7 @@ repos:
- id: check-only-new-session-with-provide-session
name: Check NEW_SESSION is only used with @provide_session
language: python
- entry:
./scripts/ci/pre_commit/pre_commit_new_session_in_provide_session.py
+ entry: ./scripts/ci/pre_commit/new_session_in_provide_session.py
pass_filenames: true
files: ^airflow/.+\.py$
- id: check-for-inclusive-language
@@ -609,7 +609,7 @@ repos:
^docs/apache-airflow-providers-cncf-kubernetes/operators.rst$|
^docs/conf.py$|
^docs/exts/removemarktransform.py$|
- ^scripts/ci/pre_commit/pre_commit_vendor_k8s_json_schema.py$|
+ ^scripts/ci/pre_commit/vendor_k8s_json_schema.py$|
^tests/|
^.pre-commit-config\.yaml$|
^.*CHANGELOG\.(rst|txt)$|
@@ -620,19 +620,19 @@ repos:
- id: check-base-operator-partial-arguments
name: Check BaseOperator and partial() arguments
language: python
- entry:
./scripts/ci/pre_commit/pre_commit_base_operator_partial_arguments.py
+ entry: ./scripts/ci/pre_commit/base_operator_partial_arguments.py
pass_filenames: false
files: ^airflow/models/(?:base|mapped)operator\.py$
- id: check-init-decorator-arguments
name: Check model __init__ and decorator arguments are in sync
language: python
- entry: ./scripts/ci/pre_commit/pre_commit_sync_init_decorator.py
+ entry: ./scripts/ci/pre_commit/sync_init_decorator.py
pass_filenames: false
files:
^airflow/models/dag\.py$|^airflow/(?:decorators|utils)/task_group\.py$
- id: check-template-context-variable-in-sync
name: Check all template context variable references are in sync
language: python
- entry: ./scripts/ci/pre_commit/pre_commit_template_context_key_sync.py
+ entry: ./scripts/ci/pre_commit/template_context_key_sync.py
files:
^airflow/models/taskinstance\.py$|^airflow/utils/context\.pyi?$|^docs/apache-airflow/templates-ref\.rst$
- id: check-base-operator-usage
language: pygrep
@@ -677,7 +677,7 @@ repos:
- id: check-decorated-operator-implements-custom-name
name: Check @task decorator implements custom_operator_name
language: python
- entry:
./scripts/ci/pre_commit/pre_commit_decorator_operator_implements_custom_name.py
+ entry:
./scripts/ci/pre_commit/decorator_operator_implements_custom_name.py
pass_filenames: true
files: ^airflow/.*\.py$
- id: check-core-deprecation-classes
@@ -719,13 +719,13 @@ repos:
pass_filenames: true
- id: check-apache-license-rat
name: Check if licenses are OK for Apache
- entry: ./scripts/ci/pre_commit/pre_commit_check_license.py
+ entry: ./scripts/ci/pre_commit/check_license.py
language: python
files: ^.*LICENSE.*$|^.*LICENCE.*$
pass_filenames: false
- id: check-aiobotocore-optional
name: Check if aiobotocore is an optional dependency only
- entry: ./scripts/ci/pre_commit/pre_commit_check_aiobotocore_optional.py
+ entry: ./scripts/ci/pre_commit/check_aiobotocore_optional.py
language: python
files: ^airflow/providers/.*/provider\.yaml$
pass_filenames: true
@@ -734,34 +734,34 @@ repos:
- id: check-boring-cyborg-configuration
name: Checks for Boring Cyborg configuration consistency
language: python
- entry: ./scripts/ci/pre_commit/pre_commit_boring_cyborg.py
+ entry: ./scripts/ci/pre_commit/boring_cyborg.py
pass_filenames: false
require_serial: true
additional_dependencies: ['pyyaml', 'termcolor==1.1.0', 'wcmatch==8.2']
- id: update-in-the-wild-to-be-sorted
name: Sort INTHEWILD.md alphabetically
- entry: ./scripts/ci/pre_commit/pre_commit_sort_in_the_wild.py
+ entry: ./scripts/ci/pre_commit/sort_in_the_wild.py
language: python
files: ^\.pre-commit-config\.yaml$|^INTHEWILD\.md$
pass_filenames: false
require_serial: true
- id: update-installed-providers-to-be-sorted
name: Sort alphabetically and uniquify installed_providers.txt
- entry: ./scripts/ci/pre_commit/pre_commit_sort_installed_providers.py
+ entry: ./scripts/ci/pre_commit/sort_installed_providers.py
language: python
files: ^\.pre-commit-config\.yaml$|^.*_installed_providers\.txt$
pass_filenames: false
require_serial: true
- id: update-spelling-wordlist-to-be-sorted
name: Sort alphabetically and uniquify spelling_wordlist.txt
- entry: ./scripts/ci/pre_commit/pre_commit_sort_spelling_wordlist.py
+ entry: ./scripts/ci/pre_commit/sort_spelling_wordlist.py
language: python
files: ^\.pre-commit-config\.yaml$|^docs/spelling_wordlist\.txt$
require_serial: true
pass_filenames: false
- id: lint-helm-chart
name: Lint Helm Chart
- entry: ./scripts/ci/pre_commit/pre_commit_helm_lint.py
+ entry: ./scripts/ci/pre_commit/helm_lint.py
language: python
pass_filenames: false
files: ^chart
@@ -769,7 +769,7 @@ repos:
additional_dependencies: ['rich>=12.4.4','requests']
- id: kubeconform
name: Kubeconform check on our helm chart
- entry: ./scripts/ci/pre_commit/pre_commit_kubeconform.py
+ entry: ./scripts/ci/pre_commit/kubeconform.py
language: python
pass_filenames: false
files: ^chart
@@ -794,7 +794,7 @@ repos:
stages: ['manual']
'types_or': [javascript, ts, tsx]
files: ^airflow/www/
- entry: ./scripts/ci/pre_commit/pre_commit_compile_www_assets.py
+ entry: ./scripts/ci/pre_commit/compile_www_assets.py
pass_filenames: false
additional_dependencies: ['[email protected]']
- id: compile-www-assets-dev
@@ -803,35 +803,35 @@ repos:
stages: ['manual']
'types_or': [javascript, ts, tsx]
files: ^airflow/www/
- entry: ./scripts/ci/pre_commit/pre_commit_compile_www_assets_dev.py
+ entry: ./scripts/ci/pre_commit/compile_www_assets_dev.py
pass_filenames: false
additional_dependencies: ['[email protected]']
- id: check-providers-init-file-missing
name: Provider init file is missing
pass_filenames: false
always_run: true
- entry: ./scripts/ci/pre_commit/pre_commit_check_providers_init.py
+ entry: ./scripts/ci/pre_commit/check_providers_init.py
language: python
- id: check-providers-subpackages-init-file-exist
name: Provider subpackage init files are there
pass_filenames: false
always_run: true
- entry:
./scripts/ci/pre_commit/pre_commit_check_providers_subpackages_all_have_init.py
+ entry:
./scripts/ci/pre_commit/check_providers_subpackages_all_have_init.py
language: python
require_serial: true
- id: check-pre-commit-information-consistent
name: Validate hook IDs & names and sync with docs
- entry: ./scripts/ci/pre_commit/pre_commit_check_pre_commit_hooks.py
+ entry: ./scripts/ci/pre_commit/check_pre_commit_hooks.py
args:
- --max-length=60
language: python
- files:
^\.pre-commit-config\.yaml$|^scripts/ci/pre_commit/pre_commit_check_pre_commit_hook_names\.py$
+ files:
^\.pre-commit-config\.yaml$|^scripts/ci/pre_commit/check_pre_commit_hooks\.py$
additional_dependencies: ['pyyaml', 'jinja2', 'black==23.10.0',
'tabulate', 'rich>=12.4.4']
require_serial: true
pass_filenames: false
- id: check-integrations-list-consistent
name: Sync integrations list with docs
- entry: ./scripts/ci/pre_commit/pre_commit_check_integrations_list.py
+ entry: ./scripts/ci/pre_commit/check_integrations_list.py
language: python
files:
^scripts/ci/docker-compose/integration-.*\.yml$|^contributing-docs/testing/integration_tests.rst$
additional_dependencies: ['black==23.10.0', 'tabulate',
'rich>=12.4.4', 'pyyaml']
@@ -840,14 +840,14 @@ repos:
- id: update-breeze-readme-config-hash
name: Update Breeze README.md with config files hash
language: python
- entry: ./scripts/ci/pre_commit/pre_commit_update_breeze_config_hash.py
+ entry: ./scripts/ci/pre_commit/update_breeze_config_hash.py
files: ^dev/breeze/pyproject\.toml$|^dev/breeze/README\.md$
pass_filenames: false
require_serial: true
- id: update-reproducible-source-date-epoch
name: Update Source Date Epoch for reproducible builds
language: python
- entry: ./scripts/ci/pre_commit/pre_commit_update_source_date_epoch.py
+ entry: ./scripts/ci/pre_commit/update_source_date_epoch.py
files: ^RELEASE_NOTES.rst$|^chart/RELEASE_NOTES.rst$
additional_dependencies: ['rich>=12.4.4', 'pyyaml']
pass_filenames: false
@@ -862,7 +862,7 @@ repos:
additional_dependencies: ['click', 'rich>=12.4.4', 'pyyaml']
- id: check-tests-in-the-right-folders
name: Check if tests are in the right folders
- entry:
./scripts/ci/pre_commit/pre_commit_check_tests_in_right_folders.py
+ entry: ./scripts/ci/pre_commit/check_tests_in_right_folders.py
language: python
files: ^tests/.*\.py
pass_filenames: true
@@ -870,7 +870,7 @@ repos:
additional_dependencies: ['rich>=12.4.4']
- id: check-system-tests-present
name: Check if system tests have required segments of code
- entry: ./scripts/ci/pre_commit/pre_commit_check_system_tests.py
+ entry: ./scripts/ci/pre_commit/check_system_tests.py
language: python
files: ^tests/system/.*/example_[^/]*\.py$
exclude:
^tests/system/providers/google/cloud/bigquery/example_bigquery_queries\.py$
@@ -878,7 +878,7 @@ repos:
additional_dependencies: ['rich>=12.4.4']
- id: generate-pypi-readme
name: Generate PyPI README
- entry: ./scripts/ci/pre_commit/pre_commit_generate_pypi_readme.py
+ entry: ./scripts/ci/pre_commit/generate_pypi_readme.py
language: python
files: ^README\.md$
pass_filenames: false
@@ -892,7 +892,7 @@ repos:
additional_dependencies: ['[email protected]']
- id: lint-json-schema
name: Lint JSON Schema files with JSON Schema
- entry: ./scripts/ci/pre_commit/pre_commit_json_schema.py
+ entry: ./scripts/ci/pre_commit/json_schema.py
args:
- --spec-url
- https://json-schema.org/draft-07/schema
@@ -904,7 +904,7 @@ repos:
additional_dependencies: ['jsonschema>=3.2.0,<5.0', 'PyYAML==5.3.1',
'requests==2.25.0']
- id: lint-json-schema
name: Lint NodePort Service with JSON Schema
- entry: ./scripts/ci/pre_commit/pre_commit_json_schema.py
+ entry: ./scripts/ci/pre_commit/json_schema.py
args:
- --spec-url
-
https://raw.githubusercontent.com/yannh/kubernetes-json-schema/master/v1.20.2-standalone/service-v1.json
@@ -915,7 +915,7 @@ repos:
additional_dependencies: ['jsonschema>=3.2.0,<5.0', 'PyYAML==5.3.1',
'requests==2.25.0']
- id: lint-json-schema
name: Lint Docker compose files with JSON Schema
- entry: ./scripts/ci/pre_commit/pre_commit_json_schema.py
+ entry: ./scripts/ci/pre_commit/json_schema.py
args:
- --spec-url
-
https://raw.githubusercontent.com/compose-spec/compose-spec/master/schema/compose-spec.json
@@ -930,7 +930,7 @@ repos:
additional_dependencies: ['jsonschema>=3.2.0,<5.0', 'PyYAML==5.3.1',
'requests==2.25.0']
- id: lint-json-schema
name: Lint chart/values.schema.json file with JSON Schema
- entry: ./scripts/ci/pre_commit/pre_commit_json_schema.py
+ entry: ./scripts/ci/pre_commit/json_schema.py
args:
- --spec-file
- chart/values_schema.schema.json
@@ -942,13 +942,13 @@ repos:
additional_dependencies: ['jsonschema>=3.2.0,<5.0', 'PyYAML==5.3.1',
'requests==2.25.0']
- id: update-vendored-in-k8s-json-schema
name: Vendor k8s definitions into values.schema.json
- entry: ./scripts/ci/pre_commit/pre_commit_vendor_k8s_json_schema.py
+ entry: ./scripts/ci/pre_commit/vendor_k8s_json_schema.py
language: python
files: ^chart/values\.schema\.json$
additional_dependencies: ['requests==2.25.0']
- id: lint-json-schema
name: Lint chart/values.yaml file with JSON Schema
- entry: ./scripts/ci/pre_commit/pre_commit_json_schema.py
+ entry: ./scripts/ci/pre_commit/json_schema.py
args:
- --enforce-defaults
- --spec-file
@@ -961,7 +961,7 @@ repos:
additional_dependencies: ['jsonschema>=3.2.0,<5.0', 'PyYAML==5.3.1',
'requests==2.25.0']
- id: lint-json-schema
name: Lint config_templates/config.yml file with JSON Schema
- entry: ./scripts/ci/pre_commit/pre_commit_json_schema.py
+ entry: ./scripts/ci/pre_commit/json_schema.py
args:
- --spec-file
- airflow/config_templates/config.yml.schema.json
@@ -972,14 +972,14 @@ repos:
additional_dependencies: ['jsonschema>=3.2.0,<5.0', 'PyYAML==5.3.1',
'requests==2.25.0']
- id: check-persist-credentials-disabled-in-github-workflows
name: Check that workflow files have persist-credentials disabled
- entry: ./scripts/ci/pre_commit/pre_commit_checkout_no_credentials.py
+ entry: ./scripts/ci/pre_commit/checkout_no_credentials.py
language: python
pass_filenames: true
files: ^\.github/workflows/.*\.yml$
additional_dependencies: ['PyYAML', 'rich>=12.4.4']
- id: check-docstring-param-types
name: Check that docstrings do not specify param types
- entry: ./scripts/ci/pre_commit/pre_commit_docstring_param_type.py
+ entry: ./scripts/ci/pre_commit/docstring_param_type.py
language: python
pass_filenames: true
files: \.py$
@@ -987,14 +987,14 @@ repos:
additional_dependencies: ['rich>=12.4.4']
- id: lint-chart-schema
name: Lint chart/values.schema.json file
- entry: ./scripts/ci/pre_commit/pre_commit_chart_schema.py
+ entry: ./scripts/ci/pre_commit/chart_schema.py
language: python
pass_filenames: false
files: ^chart/values\.schema\.json$
require_serial: true
- id: update-inlined-dockerfile-scripts
name: Inline Dockerfile and Dockerfile.ci scripts
- entry: ./scripts/ci/pre_commit/pre_commit_inline_scripts_in_docker.py
+ entry: ./scripts/ci/pre_commit/inline_scripts_in_docker.py
language: python
pass_filenames: false
files: ^Dockerfile$|^Dockerfile\.ci$|^scripts/docker/.*$
@@ -1003,33 +1003,33 @@ repos:
name: Check changelogs for duplicate entries
language: python
files: CHANGELOG\.(rst|txt)$
- entry: ./scripts/ci/pre_commit/pre_commit_changelog_duplicates.py
+ entry: ./scripts/ci/pre_commit/changelog_duplicates.py
pass_filenames: true
- id: check-newsfragments-are-valid
name: Check newsfragments are valid
language: python
files: newsfragments/.*\.rst
- entry: ./scripts/ci/pre_commit/pre_commit_newsfragments.py
+ entry: ./scripts/ci/pre_commit/newsfragments.py
pass_filenames: true
# We sometimes won't have newsfragments in the repo, so always run it
so `check-hooks-apply` passes
# This is fast, so not too much downside
always_run: true
- id: update-breeze-cmd-output
name: Update output of breeze commands in Breeze documentation
- entry: ./scripts/ci/pre_commit/pre_commit_breeze_cmd_line.py
+ entry: ./scripts/ci/pre_commit/breeze_cmd_line.py
language: python
files: >
(?x)
^dev/breeze/.*$|
^\.pre-commit-config\.yaml$|
- ^scripts/ci/pre_commit/pre_commit_breeze_cmd_line.py$|
+ ^scripts/ci/pre_commit/breeze_cmd_line.py$|
^generated/provider_dependencies.json$
require_serial: true
pass_filenames: false
additional_dependencies: ['rich>=12.4.4']
- id: check-example-dags-urls
name: Check that example dags url include provider versions
- entry: ./scripts/ci/pre_commit/pre_commit_update_example_dags_paths.py
+ entry: ./scripts/ci/pre_commit/update_example_dags_paths.py
language: python
pass_filenames: true
files: ^docs/.*example-dags\.rst$|^docs/.*index\.rst$
@@ -1037,14 +1037,14 @@ repos:
always_run: true
- id: check-system-tests-tocs
name: Check that system tests is properly added
- entry:
./scripts/ci/pre_commit/pre_commit_check_system_tests_hidden_in_index.py
+ entry: ./scripts/ci/pre_commit/check_system_tests_hidden_in_index.py
language: python
pass_filenames: true
files: ^docs/apache-airflow-providers-[^/]*/index\.rst$
additional_dependencies: ['rich>=12.4.4', 'pyyaml']
- id: check-lazy-logging
name: Check that all logging methods are lazy
- entry: ./scripts/ci/pre_commit/pre_commit_check_lazy_logging.py
+ entry: ./scripts/ci/pre_commit/check_lazy_logging.py
language: python
pass_filenames: true
files: \.py$
@@ -1052,7 +1052,7 @@ repos:
additional_dependencies: ['rich>=12.4.4', 'astor']
- id: create-missing-init-py-files-tests
name: Create missing init.py files in tests
- entry: ./scripts/ci/pre_commit/pre_commit_check_init_in_tests.py
+ entry: ./scripts/ci/pre_commit/check_init_in_tests.py
language: python
additional_dependencies: ['rich>=12.4.4']
pass_filenames: false
@@ -1062,12 +1062,12 @@ repos:
language: node
'types_or': [javascript, ts, tsx, yaml, css, json]
files: ^airflow/www/static/js/|^airflow/api_connexion/openapi/v1\.yaml$
- entry: ./scripts/ci/pre_commit/pre_commit_www_lint.py
+ entry: ./scripts/ci/pre_commit/www_lint.py
additional_dependencies: ['[email protected]', "openapi-typescript@>=6.7.4"]
pass_filenames: false
- id: check-tests-unittest-testcase
name: Check that unit tests do not inherit from unittest.TestCase
- entry: ./scripts/ci/pre_commit/pre_commit_unittest_testcase.py
+ entry: ./scripts/ci/pre_commit/unittest_testcase.py
language: python
pass_filenames: true
files: ^tests/.*\.py$
@@ -1082,12 +1082,12 @@ repos:
- id: check-deferrable-default-value
name: Check default value of deferrable attribute
language: python
- entry: ./scripts/ci/pre_commit/pre_commit_check_deferrable_default.py
+ entry: ./scripts/ci/pre_commit/check_deferrable_default.py
pass_filenames: false
files: ^airflow/.*/sensors/.*\.py$|^airflow/.*/operators/.*\.py$
- id: check-provider-docs-valid
name: Validate provider doc files
- entry: ./scripts/ci/pre_commit/pre_commit_check_provider_docs.py
+ entry: ./scripts/ci/pre_commit/check_provider_docs.py
language: python
files: ^airflow/providers/.*/provider\.yaml|^docs/.*
additional_dependencies: ['rich>=12.4.4', 'pyyaml', 'jinja2']
@@ -1164,7 +1164,7 @@ repos:
- id: mypy-dev
name: Run mypy for dev
language: python
- entry: ./scripts/ci/pre_commit/pre_commit_mypy.py
+ entry: ./scripts/ci/pre_commit/mypy.py
files: ^dev/.*\.py$|^scripts/.*\.py$
require_serial: true
additional_dependencies: ['rich>=12.4.4']
@@ -1172,7 +1172,7 @@ repos:
stages: [ 'manual' ]
name: Run mypy for dev (manual)
language: python
- entry: ./scripts/ci/pre_commit/pre_commit_mypy_folder.py dev
+ entry: ./scripts/ci/pre_commit/mypy_folder.py dev
pass_filenames: false
files: ^.*\.py$
require_serial: true
@@ -1180,7 +1180,7 @@ repos:
- id: mypy-airflow
name: Run mypy for airflow
language: python
- entry: ./scripts/ci/pre_commit/pre_commit_mypy.py --namespace-packages
+ entry: ./scripts/ci/pre_commit/mypy.py --namespace-packages
files: \.py$
exclude:
^.*/.*_vendor/|^airflow/migrations|^airflow/providers|^dev|^scripts|^docs|^provider_packages|^tests/providers|^tests/system/providers|^tests/dags/test_imports.py|^clients/python/test_.*\.py
require_serial: true
@@ -1189,7 +1189,7 @@ repos:
stages: [ 'manual' ]
name: Run mypy for airflow (manual)
language: python
- entry: ./scripts/ci/pre_commit/pre_commit_mypy_folder.py airflow
+ entry: ./scripts/ci/pre_commit/mypy_folder.py airflow
pass_filenames: false
files: ^.*\.py$
require_serial: true
@@ -1197,7 +1197,7 @@ repos:
- id: mypy-providers
name: Run mypy for providers
language: python
- entry: ./scripts/ci/pre_commit/pre_commit_mypy.py --namespace-packages
+ entry: ./scripts/ci/pre_commit/mypy.py --namespace-packages
files:
^airflow/providers/.*\.py$|^tests/providers/.*\.py$|^tests/system/providers/.*\.py$
exclude: ^.*/.*_vendor/
require_serial: true
@@ -1206,7 +1206,7 @@ repos:
stages: ['manual']
name: Run mypy for providers (manual)
language: python
- entry: ./scripts/ci/pre_commit/pre_commit_mypy_folder.py
airflow/providers
+ entry: ./scripts/ci/pre_commit/mypy_folder.py airflow/providers
pass_filenames: false
files: ^.*\.py$
require_serial: true
@@ -1214,7 +1214,7 @@ repos:
- id: mypy-docs
name: Run mypy for /docs/ folder
language: python
- entry: ./scripts/ci/pre_commit/pre_commit_mypy.py
+ entry: ./scripts/ci/pre_commit/mypy.py
files: ^docs/.*\.py$
exclude: ^docs/rtd-deprecation
require_serial: true
@@ -1223,14 +1223,14 @@ repos:
stages: ['manual']
name: Run mypy for /docs/ folder (manual)
language: python
- entry: ./scripts/ci/pre_commit/pre_commit_mypy_folder.py docs
+ entry: ./scripts/ci/pre_commit/mypy_folder.py docs
pass_filenames: false
files: ^.*\.py$
require_serial: true
additional_dependencies: ['rich>=12.4.4']
- id: check-provider-yaml-valid
name: Validate provider.yaml files
- entry: ./scripts/ci/pre_commit/pre_commit_check_provider_yaml_files.py
+ entry: ./scripts/ci/pre_commit/check_provider_yaml_files.py
language: python
files: ^airflow/providers/.*/provider\.yaml$
additional_dependencies: ['rich>=12.4.4']
@@ -1238,14 +1238,14 @@ repos:
- id: update-migration-references
name: Update migration ref doc
language: python
- entry: ./scripts/ci/pre_commit/pre_commit_migration_reference.py
+ entry: ./scripts/ci/pre_commit/migration_reference.py
pass_filenames: false
files:
^airflow/migrations/versions/.*\.py$|^docs/apache-airflow/migrations-ref\.rst$
additional_dependencies: ['rich>=12.4.4']
- id: update-er-diagram
name: Update ER diagram
language: python
- entry: ./scripts/ci/pre_commit/pre_commit_update_er_diagram.py
+ entry: ./scripts/ci/pre_commit/update_er_diagram.py
pass_filenames: false
files:
^airflow/migrations/versions/.*\.py$|^docs/apache-airflow/migrations-ref\.rst$
additional_dependencies: ['rich>=12.4.4']
diff --git a/README.md b/README.md
index 6613eca799..1f618e51fa 100644
--- a/README.md
+++ b/README.md
@@ -288,7 +288,7 @@ packages:
Apache Airflow version life cycle:
-<!-- This table is automatically updated by pre-commit
scripts/ci/pre_commit/pre_commit_supported_versions.py -->
+<!-- This table is automatically updated by pre-commit
scripts/ci/pre_commit/supported_versions.py -->
<!-- Beginning of auto-generated table -->
| Version | Current Patch/Minor | State | First Release | Limited
Support | EOL/Terminated |
diff --git a/contributing-docs/05_pull_requests.rst
b/contributing-docs/05_pull_requests.rst
index d06bb7dfe4..5cc869b5a0 100644
--- a/contributing-docs/05_pull_requests.rst
+++ b/contributing-docs/05_pull_requests.rst
@@ -274,7 +274,7 @@ In such cases we can usually do something like this
self.my_field = my_field
The reason for doing it is that we are working on a cleaning up our code to
have
-`pre-commit hook
<../scripts/ci/pre_commit/pre_commit_validate_operators_init.py>`__
+`pre-commit hook <../scripts/ci/pre_commit/validate_operators_init.py>`__
that will make sure all the cases where logic (such as validation and complex
conversion)
is not done in the constructor are detected in PRs.
diff --git a/dev/README_RELEASE_AIRFLOW.md b/dev/README_RELEASE_AIRFLOW.md
index 39d138c49c..182e88d933 100644
--- a/dev/README_RELEASE_AIRFLOW.md
+++ b/dev/README_RELEASE_AIRFLOW.md
@@ -259,7 +259,7 @@ The Release Candidate artifacts we vote upon should be the
exact ones we vote ag
- Set your version in `airflow/__init__.py`,
`airflow/api_connexion/openapi/v1.yaml` (without the RC tag).
- Run `git commit` without a message to update versions in `docs`.
-- Add supported Airflow version to
`./scripts/ci/pre_commit/pre_commit_supported_versions.py` and let pre-commit
do the job again.
+- Add supported Airflow version to
`./scripts/ci/pre_commit/supported_versions.py` and let pre-commit do the job
again.
- Replace the versions in `README.md` about installation and verify that
installation instructions work fine.
- Add entry for default python version to
`BASE_PROVIDERS_COMPATIBILITY_CHECKS` in
`src/airflow_breeze/global_constants.py`
with the new Airflow version, and empty exclusion for providers. This list
should be updated later when providers
@@ -1030,7 +1030,7 @@ EOF
This includes:
-- Modify `./scripts/ci/pre_commit/pre_commit_supported_versions.py` and let
pre-commit do the job.
+- Modify `./scripts/ci/pre_commit/supported_versions.py` and let pre-commit do
the job.
- For major/minor release, update version in `airflow/__init__.py`,
`docs/docker-stack/` and `airflow/api_connexion/openapi/v1.yaml` to the next
likely minor version release.
- Sync `RELEASE_NOTES.rst` (including deleting relevant `newsfragments`) and
`README.md` changes.
- Updating `Dockerfile` with the new version.
diff --git a/dev/breeze/src/airflow_breeze/commands/ci_image_commands.py
b/dev/breeze/src/airflow_breeze/commands/ci_image_commands.py
index 6fe0a3e7c0..1a1e9a6523 100644
--- a/dev/breeze/src/airflow_breeze/commands/ci_image_commands.py
+++ b/dev/breeze/src/airflow_breeze/commands/ci_image_commands.py
@@ -796,7 +796,7 @@ def run_build_ci_image(
/ "scripts"
/ "ci"
/ "pre_commit"
- / "pre_commit_update_providers_dependencies.py"
+ / "update_providers_dependencies.py"
),
],
check=False,
diff --git a/dev/breeze/src/airflow_breeze/utils/md5_build_check.py
b/dev/breeze/src/airflow_breeze/utils/md5_build_check.py
index 9475461812..6cd5ffeae5 100644
--- a/dev/breeze/src/airflow_breeze/utils/md5_build_check.py
+++ b/dev/breeze/src/airflow_breeze/utils/md5_build_check.py
@@ -122,7 +122,7 @@ def calculate_md5_checksum_for_files(
/ "scripts"
/ "ci"
/ "pre_commit"
- / "pre_commit_update_providers_dependencies.py"
+ / "update_providers_dependencies.py"
),
],
cwd=AIRFLOW_SOURCES_ROOT,
diff --git a/docs/apache-airflow/database-erd-ref.rst
b/docs/apache-airflow/database-erd-ref.rst
index a4ebd59e79..80673a336a 100644
--- a/docs/apache-airflow/database-erd-ref.rst
+++ b/docs/apache-airflow/database-erd-ref.rst
@@ -33,6 +33,6 @@ Here is the current Database schema diagram.
`db command <cli-and-env-variables-ref.html#db>`_ for the commands that you
can use to manage
the migrations.
-.. This image is automatically generated by pre-commit via
``scripts/ci/pre_commit/pre_commit_update_er_diagram.py``
+.. This image is automatically generated by pre-commit via
``scripts/ci/pre_commit/update_er_diagram.py``
.. image:: img/airflow_erd.svg
diff --git a/docs/apache-airflow/installation/supported-versions.rst
b/docs/apache-airflow/installation/supported-versions.rst
index 11a6a8559d..5086f77e9f 100644
--- a/docs/apache-airflow/installation/supported-versions.rst
+++ b/docs/apache-airflow/installation/supported-versions.rst
@@ -23,7 +23,7 @@ Version Life Cycle
Apache Airflowâ„¢ version life cycle:
- .. This table is automatically updated by pre-commit
scripts/ci/pre_commit/pre_commit_supported_versions.py
+ .. This table is automatically updated by pre-commit
scripts/ci/pre_commit/supported_versions.py
.. Beginning of auto-generated table
========= ===================== ========= ===============
================= ================
diff --git a/docs/apache-airflow/migrations-ref.rst
b/docs/apache-airflow/migrations-ref.rst
index 13c70abe9d..76ad56631f 100644
--- a/docs/apache-airflow/migrations-ref.rst
+++ b/docs/apache-airflow/migrations-ref.rst
@@ -32,7 +32,7 @@ Here's the list of all the Database Migrations that are
executed via when you ru
- .. This table is automatically updated by pre-commit by
``scripts/ci/pre_commit/pre_commit_migration_reference.py``
+ .. This table is automatically updated by pre-commit by
``scripts/ci/pre_commit/migration_reference.py``
.. All table elements are scraped from migration files
.. Beginning of auto-generated table
diff --git
a/scripts/ci/pre_commit/pre_commit_base_operator_partial_arguments.py
b/scripts/ci/pre_commit/base_operator_partial_arguments.py
similarity index 100%
rename from scripts/ci/pre_commit/pre_commit_base_operator_partial_arguments.py
rename to scripts/ci/pre_commit/base_operator_partial_arguments.py
diff --git a/scripts/ci/pre_commit/pre_commit_boring_cyborg.py
b/scripts/ci/pre_commit/boring_cyborg.py
similarity index 100%
rename from scripts/ci/pre_commit/pre_commit_boring_cyborg.py
rename to scripts/ci/pre_commit/boring_cyborg.py
diff --git a/scripts/ci/pre_commit/pre_commit_breeze_cmd_line.py
b/scripts/ci/pre_commit/breeze_cmd_line.py
similarity index 100%
rename from scripts/ci/pre_commit/pre_commit_breeze_cmd_line.py
rename to scripts/ci/pre_commit/breeze_cmd_line.py
diff --git a/scripts/ci/pre_commit/pre_commit_changelog_duplicates.py
b/scripts/ci/pre_commit/changelog_duplicates.py
similarity index 100%
rename from scripts/ci/pre_commit/pre_commit_changelog_duplicates.py
rename to scripts/ci/pre_commit/changelog_duplicates.py
diff --git a/scripts/ci/pre_commit/pre_commit_chart_schema.py
b/scripts/ci/pre_commit/chart_schema.py
similarity index 100%
rename from scripts/ci/pre_commit/pre_commit_chart_schema.py
rename to scripts/ci/pre_commit/chart_schema.py
diff --git a/scripts/ci/pre_commit/pre_commit_check_aiobotocore_optional.py
b/scripts/ci/pre_commit/check_aiobotocore_optional.py
similarity index 100%
rename from scripts/ci/pre_commit/pre_commit_check_aiobotocore_optional.py
rename to scripts/ci/pre_commit/check_aiobotocore_optional.py
diff --git
a/scripts/ci/pre_commit/pre_commit_check_airflow_bug_report_template.py
b/scripts/ci/pre_commit/check_airflow_bug_report_template.py
similarity index 100%
rename from
scripts/ci/pre_commit/pre_commit_check_airflow_bug_report_template.py
rename to scripts/ci/pre_commit/check_airflow_bug_report_template.py
diff --git a/scripts/ci/pre_commit/pre_commit_check_airflow_k8s_not_used.py
b/scripts/ci/pre_commit/check_airflow_k8s_not_used.py
similarity index 100%
rename from scripts/ci/pre_commit/pre_commit_check_airflow_k8s_not_used.py
rename to scripts/ci/pre_commit/check_airflow_k8s_not_used.py
diff --git
a/scripts/ci/pre_commit/pre_commit_check_cncf_k8s_used_for_k8s_executor_only.py
b/scripts/ci/pre_commit/check_cncf_k8s_used_for_k8s_executor_only.py
similarity index 100%
rename from
scripts/ci/pre_commit/pre_commit_check_cncf_k8s_used_for_k8s_executor_only.py
rename to scripts/ci/pre_commit/check_cncf_k8s_used_for_k8s_executor_only.py
diff --git a/scripts/ci/pre_commit/pre_commit_check_common_sql_dependency.py
b/scripts/ci/pre_commit/check_common_sql_dependency.py
similarity index 100%
rename from scripts/ci/pre_commit/pre_commit_check_common_sql_dependency.py
rename to scripts/ci/pre_commit/check_common_sql_dependency.py
diff --git a/scripts/ci/pre_commit/pre_commit_check_deferrable_default.py
b/scripts/ci/pre_commit/check_deferrable_default.py
similarity index 100%
rename from scripts/ci/pre_commit/pre_commit_check_deferrable_default.py
rename to scripts/ci/pre_commit/check_deferrable_default.py
diff --git a/scripts/ci/pre_commit/pre_commit_check_extra_packages_ref.py
b/scripts/ci/pre_commit/check_extra_packages_ref.py
similarity index 100%
rename from scripts/ci/pre_commit/pre_commit_check_extra_packages_ref.py
rename to scripts/ci/pre_commit/check_extra_packages_ref.py
diff --git a/scripts/ci/pre_commit/pre_commit_check_google_re2_imports.py
b/scripts/ci/pre_commit/check_google_re2_imports.py
similarity index 100%
rename from scripts/ci/pre_commit/pre_commit_check_google_re2_imports.py
rename to scripts/ci/pre_commit/check_google_re2_imports.py
diff --git a/scripts/ci/pre_commit/pre_commit_check_init_in_tests.py
b/scripts/ci/pre_commit/check_init_in_tests.py
similarity index 100%
rename from scripts/ci/pre_commit/pre_commit_check_init_in_tests.py
rename to scripts/ci/pre_commit/check_init_in_tests.py
diff --git a/scripts/ci/pre_commit/pre_commit_check_integrations_list.py
b/scripts/ci/pre_commit/check_integrations_list.py
similarity index 100%
rename from scripts/ci/pre_commit/pre_commit_check_integrations_list.py
rename to scripts/ci/pre_commit/check_integrations_list.py
diff --git a/scripts/ci/pre_commit/pre_commit_check_lazy_logging.py
b/scripts/ci/pre_commit/check_lazy_logging.py
similarity index 100%
rename from scripts/ci/pre_commit/pre_commit_check_lazy_logging.py
rename to scripts/ci/pre_commit/check_lazy_logging.py
diff --git a/scripts/ci/pre_commit/pre_commit_check_license.py
b/scripts/ci/pre_commit/check_license.py
similarity index 100%
rename from scripts/ci/pre_commit/pre_commit_check_license.py
rename to scripts/ci/pre_commit/check_license.py
diff --git a/scripts/ci/pre_commit/pre_commit_check_order_dockerfile_extras.py
b/scripts/ci/pre_commit/check_order_dockerfile_extras.py
similarity index 100%
rename from scripts/ci/pre_commit/pre_commit_check_order_dockerfile_extras.py
rename to scripts/ci/pre_commit/check_order_dockerfile_extras.py
diff --git a/scripts/ci/pre_commit/pre_commit_check_order_hatch_build.py
b/scripts/ci/pre_commit/check_order_hatch_build.py
similarity index 100%
rename from scripts/ci/pre_commit/pre_commit_check_order_hatch_build.py
rename to scripts/ci/pre_commit/check_order_hatch_build.py
diff --git a/scripts/ci/pre_commit/pre_commit_check_pre_commit_hooks.py
b/scripts/ci/pre_commit/check_pre_commit_hooks.py
similarity index 100%
rename from scripts/ci/pre_commit/pre_commit_check_pre_commit_hooks.py
rename to scripts/ci/pre_commit/check_pre_commit_hooks.py
diff --git
a/scripts/ci/pre_commit/pre_commit_check_provider_airflow_compatibility.py
b/scripts/ci/pre_commit/check_provider_airflow_compatibility.py
similarity index 100%
rename from
scripts/ci/pre_commit/pre_commit_check_provider_airflow_compatibility.py
rename to scripts/ci/pre_commit/check_provider_airflow_compatibility.py
diff --git a/scripts/ci/pre_commit/pre_commit_check_provider_docs.py
b/scripts/ci/pre_commit/check_provider_docs.py
similarity index 100%
rename from scripts/ci/pre_commit/pre_commit_check_provider_docs.py
rename to scripts/ci/pre_commit/check_provider_docs.py
diff --git a/scripts/ci/pre_commit/pre_commit_check_provider_yaml_files.py
b/scripts/ci/pre_commit/check_provider_yaml_files.py
similarity index 100%
rename from scripts/ci/pre_commit/pre_commit_check_provider_yaml_files.py
rename to scripts/ci/pre_commit/check_provider_yaml_files.py
diff --git a/scripts/ci/pre_commit/pre_commit_check_providers_init.py
b/scripts/ci/pre_commit/check_providers_init.py
similarity index 100%
rename from scripts/ci/pre_commit/pre_commit_check_providers_init.py
rename to scripts/ci/pre_commit/check_providers_init.py
diff --git
a/scripts/ci/pre_commit/pre_commit_check_providers_subpackages_all_have_init.py
b/scripts/ci/pre_commit/check_providers_subpackages_all_have_init.py
similarity index 100%
rename from
scripts/ci/pre_commit/pre_commit_check_providers_subpackages_all_have_init.py
rename to scripts/ci/pre_commit/check_providers_subpackages_all_have_init.py
diff --git a/scripts/ci/pre_commit/pre_commit_check_system_tests.py
b/scripts/ci/pre_commit/check_system_tests.py
similarity index 100%
rename from scripts/ci/pre_commit/pre_commit_check_system_tests.py
rename to scripts/ci/pre_commit/check_system_tests.py
diff --git
a/scripts/ci/pre_commit/pre_commit_check_system_tests_hidden_in_index.py
b/scripts/ci/pre_commit/check_system_tests_hidden_in_index.py
similarity index 100%
rename from
scripts/ci/pre_commit/pre_commit_check_system_tests_hidden_in_index.py
rename to scripts/ci/pre_commit/check_system_tests_hidden_in_index.py
diff --git a/scripts/ci/pre_commit/pre_commit_check_tests_in_right_folders.py
b/scripts/ci/pre_commit/check_tests_in_right_folders.py
similarity index 96%
rename from scripts/ci/pre_commit/pre_commit_check_tests_in_right_folders.py
rename to scripts/ci/pre_commit/check_tests_in_right_folders.py
index 69319d43ac..314076fafd 100755
--- a/scripts/ci/pre_commit/pre_commit_check_tests_in_right_folders.py
+++ b/scripts/ci/pre_commit/check_tests_in_right_folders.py
@@ -92,7 +92,7 @@ if __name__ == "__main__":
if not any(file.startswith(f"tests/{folder}/") for folder in
POSSIBLE_TEST_FOLDERS):
console.print(
"[red]The file is in a wrong folder. Make sure to move it to
the right folder "
- "listed in
`./script/ci/pre_commit/pre_commit_check_tests_in_right_folders.py` "
+ "listed in
`./script/ci/pre_commit/check_tests_in_right_folders.py` "
"or create new folder and add it to the script if you know
what you are doing.[/]"
)
console.print(file)
diff --git a/scripts/ci/pre_commit/pre_commit_checkout_no_credentials.py
b/scripts/ci/pre_commit/checkout_no_credentials.py
similarity index 100%
rename from scripts/ci/pre_commit/pre_commit_checkout_no_credentials.py
rename to scripts/ci/pre_commit/checkout_no_credentials.py
diff --git a/scripts/ci/pre_commit/pre_commit_compile_www_assets.py
b/scripts/ci/pre_commit/compile_www_assets.py
similarity index 100%
rename from scripts/ci/pre_commit/pre_commit_compile_www_assets.py
rename to scripts/ci/pre_commit/compile_www_assets.py
diff --git a/scripts/ci/pre_commit/pre_commit_compile_www_assets_dev.py
b/scripts/ci/pre_commit/compile_www_assets_dev.py
similarity index 100%
rename from scripts/ci/pre_commit/pre_commit_compile_www_assets_dev.py
rename to scripts/ci/pre_commit/compile_www_assets_dev.py
diff --git
a/scripts/ci/pre_commit/pre_commit_decorator_operator_implements_custom_name.py
b/scripts/ci/pre_commit/decorator_operator_implements_custom_name.py
similarity index 100%
rename from
scripts/ci/pre_commit/pre_commit_decorator_operator_implements_custom_name.py
rename to scripts/ci/pre_commit/decorator_operator_implements_custom_name.py
diff --git a/scripts/ci/pre_commit/pre_commit_docstring_param_type.py
b/scripts/ci/pre_commit/docstring_param_type.py
similarity index 100%
rename from scripts/ci/pre_commit/pre_commit_docstring_param_type.py
rename to scripts/ci/pre_commit/docstring_param_type.py
diff --git a/scripts/ci/pre_commit/pre_commit_generate_airflow_diagrams.py
b/scripts/ci/pre_commit/generate_airflow_diagrams.py
similarity index 100%
rename from scripts/ci/pre_commit/pre_commit_generate_airflow_diagrams.py
rename to scripts/ci/pre_commit/generate_airflow_diagrams.py
diff --git a/scripts/ci/pre_commit/pre_commit_generate_pypi_readme.py
b/scripts/ci/pre_commit/generate_pypi_readme.py
similarity index 100%
rename from scripts/ci/pre_commit/pre_commit_generate_pypi_readme.py
rename to scripts/ci/pre_commit/generate_pypi_readme.py
diff --git a/scripts/ci/pre_commit/pre_commit_helm_lint.py
b/scripts/ci/pre_commit/helm_lint.py
similarity index 100%
rename from scripts/ci/pre_commit/pre_commit_helm_lint.py
rename to scripts/ci/pre_commit/helm_lint.py
diff --git a/scripts/ci/pre_commit/pre_commit_inline_scripts_in_docker.py
b/scripts/ci/pre_commit/inline_scripts_in_docker.py
similarity index 100%
rename from scripts/ci/pre_commit/pre_commit_inline_scripts_in_docker.py
rename to scripts/ci/pre_commit/inline_scripts_in_docker.py
diff --git a/scripts/ci/pre_commit/pre_commit_insert_extras.py
b/scripts/ci/pre_commit/insert_extras.py
similarity index 100%
rename from scripts/ci/pre_commit/pre_commit_insert_extras.py
rename to scripts/ci/pre_commit/insert_extras.py
diff --git a/scripts/ci/pre_commit/pre_commit_json_schema.py
b/scripts/ci/pre_commit/json_schema.py
similarity index 100%
rename from scripts/ci/pre_commit/pre_commit_json_schema.py
rename to scripts/ci/pre_commit/json_schema.py
diff --git a/scripts/ci/pre_commit/pre_commit_kubeconform.py
b/scripts/ci/pre_commit/kubeconform.py
similarity index 100%
rename from scripts/ci/pre_commit/pre_commit_kubeconform.py
rename to scripts/ci/pre_commit/kubeconform.py
diff --git a/scripts/ci/pre_commit/pre_commit_lint_dockerfile.py
b/scripts/ci/pre_commit/lint_dockerfile.py
similarity index 100%
rename from scripts/ci/pre_commit/pre_commit_lint_dockerfile.py
rename to scripts/ci/pre_commit/lint_dockerfile.py
diff --git a/scripts/ci/pre_commit/pre_commit_local_yml_mounts.py
b/scripts/ci/pre_commit/local_yml_mounts.py
similarity index 100%
rename from scripts/ci/pre_commit/pre_commit_local_yml_mounts.py
rename to scripts/ci/pre_commit/local_yml_mounts.py
diff --git a/scripts/ci/pre_commit/pre_commit_migration_reference.py
b/scripts/ci/pre_commit/migration_reference.py
similarity index 100%
rename from scripts/ci/pre_commit/pre_commit_migration_reference.py
rename to scripts/ci/pre_commit/migration_reference.py
diff --git a/scripts/ci/pre_commit/pre_commit_mypy.py
b/scripts/ci/pre_commit/mypy.py
similarity index 100%
rename from scripts/ci/pre_commit/pre_commit_mypy.py
rename to scripts/ci/pre_commit/mypy.py
diff --git a/scripts/ci/pre_commit/pre_commit_mypy_folder.py
b/scripts/ci/pre_commit/mypy_folder.py
similarity index 100%
rename from scripts/ci/pre_commit/pre_commit_mypy_folder.py
rename to scripts/ci/pre_commit/mypy_folder.py
diff --git a/scripts/ci/pre_commit/pre_commit_new_session_in_provide_session.py
b/scripts/ci/pre_commit/new_session_in_provide_session.py
similarity index 100%
rename from scripts/ci/pre_commit/pre_commit_new_session_in_provide_session.py
rename to scripts/ci/pre_commit/new_session_in_provide_session.py
diff --git a/scripts/ci/pre_commit/pre_commit_newsfragments.py
b/scripts/ci/pre_commit/newsfragments.py
similarity index 100%
rename from scripts/ci/pre_commit/pre_commit_newsfragments.py
rename to scripts/ci/pre_commit/newsfragments.py
diff --git a/scripts/ci/pre_commit/pre_commit_replace_bad_characters.py
b/scripts/ci/pre_commit/replace_bad_characters.py
similarity index 100%
rename from scripts/ci/pre_commit/pre_commit_replace_bad_characters.py
rename to scripts/ci/pre_commit/replace_bad_characters.py
diff --git a/scripts/ci/pre_commit/pre_commit_ruff_format.py
b/scripts/ci/pre_commit/ruff_format.py
similarity index 100%
rename from scripts/ci/pre_commit/pre_commit_ruff_format.py
rename to scripts/ci/pre_commit/ruff_format.py
diff --git a/scripts/ci/pre_commit/pre_commit_sort_in_the_wild.py
b/scripts/ci/pre_commit/sort_in_the_wild.py
similarity index 100%
rename from scripts/ci/pre_commit/pre_commit_sort_in_the_wild.py
rename to scripts/ci/pre_commit/sort_in_the_wild.py
diff --git a/scripts/ci/pre_commit/pre_commit_sort_installed_providers.py
b/scripts/ci/pre_commit/sort_installed_providers.py
similarity index 100%
rename from scripts/ci/pre_commit/pre_commit_sort_installed_providers.py
rename to scripts/ci/pre_commit/sort_installed_providers.py
diff --git a/scripts/ci/pre_commit/pre_commit_sort_spelling_wordlist.py
b/scripts/ci/pre_commit/sort_spelling_wordlist.py
similarity index 100%
rename from scripts/ci/pre_commit/pre_commit_sort_spelling_wordlist.py
rename to scripts/ci/pre_commit/sort_spelling_wordlist.py
diff --git a/scripts/ci/pre_commit/pre_commit_supported_versions.py
b/scripts/ci/pre_commit/supported_versions.py
similarity index 100%
rename from scripts/ci/pre_commit/pre_commit_supported_versions.py
rename to scripts/ci/pre_commit/supported_versions.py
diff --git a/scripts/ci/pre_commit/pre_commit_sync_init_decorator.py
b/scripts/ci/pre_commit/sync_init_decorator.py
similarity index 100%
rename from scripts/ci/pre_commit/pre_commit_sync_init_decorator.py
rename to scripts/ci/pre_commit/sync_init_decorator.py
diff --git a/scripts/ci/pre_commit/pre_commit_template_context_key_sync.py
b/scripts/ci/pre_commit/template_context_key_sync.py
similarity index 100%
rename from scripts/ci/pre_commit/pre_commit_template_context_key_sync.py
rename to scripts/ci/pre_commit/template_context_key_sync.py
diff --git a/scripts/ci/pre_commit/pre_commit_unittest_testcase.py
b/scripts/ci/pre_commit/unittest_testcase.py
similarity index 100%
rename from scripts/ci/pre_commit/pre_commit_unittest_testcase.py
rename to scripts/ci/pre_commit/unittest_testcase.py
diff --git a/scripts/ci/pre_commit/pre_commit_update_black_version.py
b/scripts/ci/pre_commit/update_black_version.py
similarity index 100%
rename from scripts/ci/pre_commit/pre_commit_update_black_version.py
rename to scripts/ci/pre_commit/update_black_version.py
diff --git a/scripts/ci/pre_commit/pre_commit_update_breeze_config_hash.py
b/scripts/ci/pre_commit/update_breeze_config_hash.py
similarity index 100%
rename from scripts/ci/pre_commit/pre_commit_update_breeze_config_hash.py
rename to scripts/ci/pre_commit/update_breeze_config_hash.py
diff --git a/scripts/ci/pre_commit/pre_commit_update_build_dependencies.py
b/scripts/ci/pre_commit/update_build_dependencies.py
similarity index 100%
rename from scripts/ci/pre_commit/pre_commit_update_build_dependencies.py
rename to scripts/ci/pre_commit/update_build_dependencies.py
diff --git a/scripts/ci/pre_commit/pre_commit_update_chart_dependencies.py
b/scripts/ci/pre_commit/update_chart_dependencies.py
similarity index 100%
rename from scripts/ci/pre_commit/pre_commit_update_chart_dependencies.py
rename to scripts/ci/pre_commit/update_chart_dependencies.py
diff --git a/scripts/ci/pre_commit/pre_commit_update_common_sql_api_stubs.py
b/scripts/ci/pre_commit/update_common_sql_api_stubs.py
similarity index 100%
rename from scripts/ci/pre_commit/pre_commit_update_common_sql_api_stubs.py
rename to scripts/ci/pre_commit/update_common_sql_api_stubs.py
diff --git a/scripts/ci/pre_commit/pre_commit_update_er_diagram.py
b/scripts/ci/pre_commit/update_er_diagram.py
similarity index 100%
rename from scripts/ci/pre_commit/pre_commit_update_er_diagram.py
rename to scripts/ci/pre_commit/update_er_diagram.py
diff --git a/scripts/ci/pre_commit/pre_commit_update_example_dags_paths.py
b/scripts/ci/pre_commit/update_example_dags_paths.py
similarity index 100%
rename from scripts/ci/pre_commit/pre_commit_update_example_dags_paths.py
rename to scripts/ci/pre_commit/update_example_dags_paths.py
diff --git a/scripts/ci/pre_commit/pre_commit_update_installers.py
b/scripts/ci/pre_commit/update_installers.py
similarity index 100%
rename from scripts/ci/pre_commit/pre_commit_update_installers.py
rename to scripts/ci/pre_commit/update_installers.py
diff --git a/scripts/ci/pre_commit/pre_commit_update_providers_dependencies.py
b/scripts/ci/pre_commit/update_providers_dependencies.py
similarity index 100%
rename from scripts/ci/pre_commit/pre_commit_update_providers_dependencies.py
rename to scripts/ci/pre_commit/update_providers_dependencies.py
diff --git
a/scripts/ci/pre_commit/pre_commit_update_providers_dependencies.py.md5sum
b/scripts/ci/pre_commit/update_providers_dependencies.py.md5sum
similarity index 100%
rename from
scripts/ci/pre_commit/pre_commit_update_providers_dependencies.py.md5sum
rename to scripts/ci/pre_commit/update_providers_dependencies.py.md5sum
diff --git a/scripts/ci/pre_commit/pre_commit_update_source_date_epoch.py
b/scripts/ci/pre_commit/update_source_date_epoch.py
similarity index 100%
rename from scripts/ci/pre_commit/pre_commit_update_source_date_epoch.py
rename to scripts/ci/pre_commit/update_source_date_epoch.py
diff --git a/scripts/ci/pre_commit/pre_commit_update_versions.py
b/scripts/ci/pre_commit/update_versions.py
similarity index 100%
rename from scripts/ci/pre_commit/pre_commit_update_versions.py
rename to scripts/ci/pre_commit/update_versions.py
diff --git a/scripts/ci/pre_commit/pre_commit_validate_operators_init.py
b/scripts/ci/pre_commit/validate_operators_init.py
similarity index 100%
rename from scripts/ci/pre_commit/pre_commit_validate_operators_init.py
rename to scripts/ci/pre_commit/validate_operators_init.py
diff --git a/scripts/ci/pre_commit/pre_commit_vendor_k8s_json_schema.py
b/scripts/ci/pre_commit/vendor_k8s_json_schema.py
similarity index 100%
rename from scripts/ci/pre_commit/pre_commit_vendor_k8s_json_schema.py
rename to scripts/ci/pre_commit/vendor_k8s_json_schema.py
diff --git a/scripts/ci/pre_commit/pre_commit_version_heads_map.py
b/scripts/ci/pre_commit/version_heads_map.py
similarity index 97%
rename from scripts/ci/pre_commit/pre_commit_version_heads_map.py
rename to scripts/ci/pre_commit/version_heads_map.py
index f3cf7ef7d7..4277c46564 100755
--- a/scripts/ci/pre_commit/pre_commit_version_heads_map.py
+++ b/scripts/ci/pre_commit/version_heads_map.py
@@ -69,7 +69,7 @@ if __name__ == "__main__":
if not match:
print(
f"_REVISION_HEADS_MAP not found in {DB_FILE}. If this has been
removed intentionally, "
- "please update
scripts/ci/pre_commit/pre_commit_version_heads_map.py"
+ "please update scripts/ci/pre_commit/version_heads_map.py"
)
sys.exit(1)
diff --git a/scripts/ci/pre_commit/pre_commit_www_lint.py
b/scripts/ci/pre_commit/www_lint.py
similarity index 100%
rename from scripts/ci/pre_commit/pre_commit_www_lint.py
rename to scripts/ci/pre_commit/www_lint.py