diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index e3202ee75abff..074ae4db286c4 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -174,7 +174,7 @@ repos: pass_filenames: false require_serial: true - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.1.4 + rev: v0.1.7 hooks: # Since ruff makes use of multiple cores we _purposefully_ don't run this in docker so it can use the # host CPU to it's fullest @@ -250,7 +250,7 @@ repos: name: Check if there are no deprecate log warn exclude: ^.*/.*_vendor/ - repo: https://github.com/adrienverge/yamllint - rev: v1.32.0 + rev: v1.33.0 hooks: - id: yamllint name: Check YAML files with yamllint diff --git a/airflow/providers/google/cloud/hooks/dataflow.py b/airflow/providers/google/cloud/hooks/dataflow.py index e1eb1d048ba37..1769839a0b18f 100644 --- a/airflow/providers/google/cloud/hooks/dataflow.py +++ b/airflow/providers/google/cloud/hooks/dataflow.py @@ -55,7 +55,7 @@ def process_line_and_extract_dataflow_job_id_callback( - on_new_job_id_callback: Callable[[str], None] | None + on_new_job_id_callback: Callable[[str], None] | None, ) -> Callable[[str], None]: """Build callback that triggers the specified function. diff --git a/scripts/in_container/run_provider_yaml_files_check.py b/scripts/in_container/run_provider_yaml_files_check.py index 8f0e18009b8d6..aaffa0e2f88c6 100755 --- a/scripts/in_container/run_provider_yaml_files_check.py +++ b/scripts/in_container/run_provider_yaml_files_check.py @@ -313,7 +313,7 @@ def check_integration_duplicates(yaml_files: dict[str, dict]) -> tuple[int, int] @run_check("Checking completeness of list of {sensors, hooks, operators, triggers}") def check_correctness_of_list_of_sensors_operators_hook_trigger_modules( - yaml_files: dict[str, dict] + yaml_files: dict[str, dict], ) -> tuple[int, int]: num_errors = 0 num_modules = 0 @@ -354,7 +354,7 @@ def check_correctness_of_list_of_sensors_operators_hook_trigger_modules( @run_check("Checking for duplicates in list of {sensors, hooks, operators, triggers}") def check_duplicates_in_integrations_names_of_hooks_sensors_operators( - yaml_files: dict[str, dict] + yaml_files: dict[str, dict], ) -> tuple[int, int]: num_errors = 0 num_integrations = 0 diff --git a/scripts/in_container/verify_providers.py b/scripts/in_container/verify_providers.py index 8594e95194952..769f85d520a68 100755 --- a/scripts/in_container/verify_providers.py +++ b/scripts/in_container/verify_providers.py @@ -578,7 +578,7 @@ def is_camel_case_with_acronyms(s: str): def check_if_classes_are_properly_named( - entity_summary: dict[EntityType, EntityTypeSummary] + entity_summary: dict[EntityType, EntityTypeSummary], ) -> tuple[int, int]: """Check if all entities in the dictionary are named properly.