Skip to content

Commit af23d85

Browse files
committed
troubleshoot ruff
1 parent 9be9682 commit af23d85

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.pre-commit-config.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,17 +22,18 @@ repos:
2222
rev: v0.12.7
2323
hooks:
2424
- id: ruff
25-
args: [--exit-non-zero-on-fix --show-fixes]
25+
args: [--exit-non-zero-on-fix]
2626
exclude: ^pandas/tests/frame/test_query_eval.py
2727
- id: ruff
2828
# TODO: remove autofix only rules when they are checked by ruff
2929
name: ruff-selected-autofixes
3030
alias: ruff-selected-autofixes
3131
files: ^pandas
3232
exclude: ^pandas/tests
33-
args: [--select, "ANN001,ANN2", --fix-only, --exit-non-zero-on-fix]
33+
args: [--select, "ANN001,ANN2", --fix-only, --exit-non-zero-on-fix, --show-fixes]
3434
- id: ruff-format
3535
exclude: ^scripts|^pandas/tests/frame/test_query_eval.py
36+
args: [--show-fixes]
3637
- repo: https://github.com/jendrikseipp/vulture
3738
rev: v2.14
3839
hooks:

0 commit comments

Comments
 (0)