Skip to content

Commit 999cbb1

Browse files
committed
🔧 Update pre-commit config logic
1 parent f3e7616 commit 999cbb1

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.pre-commit-config.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,15 @@ repos:
1616
- id: mixed-line-ending
1717
- id: name-tests-test
1818
args: ["--pytest-test-first"]
19-
exclude: ^tests/legacy_metrics.py
2019
- id: trailing-whitespace
2120

2221
- repo: https://github.com/astral-sh/ruff-pre-commit
2322
rev: "v0.12.5"
2423
hooks:
2524
# Run the linter
26-
- id: ruff
27-
types_or: [python, pyi]
25+
- id: ruff-check
2826
args: ["--fix", "--show-fixes"]
27+
pass_filenames: false
2928
# Run the formatter
3029
- id: ruff-format
30+
pass_filenames: false

0 commit comments

Comments
 (0)