diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 78487ca03..c174ca69d 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -33,7 +33,7 @@ repos: hooks: - id: pyproject-fmt - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.12.5 + rev: v0.12.7 hooks: - id: ruff args: ["--exit-non-zero-on-fix"] diff --git a/tests/test_examples/test_result/test_result_pattern_matching.py b/tests/test_examples/test_result/test_result_pattern_matching.py index b0ffc5051..a2c3bc632 100644 --- a/tests/test_examples/test_result/test_result_pattern_matching.py +++ b/tests/test_examples/test_result/test_result_pattern_matching.py @@ -2,7 +2,7 @@ @safe -def div(first_number: int, second_number: int) -> int: # noqa: FURB118 +def div(first_number: int, second_number: int) -> int: return first_number // second_number