Skip to content

Commit

Permalink
Upgrade to latest pre-commit plugins (#36163)
Browse files Browse the repository at this point in the history
  • Loading branch information
potiuk authored Dec 11, 2023
1 parent 343bac9 commit fcd993b
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion airflow/providers/google/cloud/hooks/dataflow.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
4 changes: 2 additions & 2 deletions scripts/in_container/run_provider_yaml_files_check.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion scripts/in_container/verify_providers.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit fcd993b

Please sign in to comment.