Skip to content

Commit 55b8f91

Browse files
committed
Move Ruff's fix=true up from pre-commit to pyproject
1 parent 97c6e46 commit 55b8f91

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ repos:
33
rev: v0.3.4
44
hooks:
55
- id: ruff
6-
args: [--fix, --exit-non-zero-on-fix]
6+
args: [--exit-non-zero-on-fix]
77

88
- repo: https://github.com/psf/black-pre-commit-mirror
99
rev: 24.3.0

pyproject.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,9 @@ config-settings = "raqm=enable raqm=vendor fribidi=vendor imagequant=disable"
9696
test-command = "cd {project} && .github/workflows/wheels-test.sh"
9797
test-extras = "tests"
9898

99+
[tool.ruff]
100+
fix = true
101+
99102
[tool.ruff.lint]
100103
select = [
101104
"C4", # flake8-comprehensions

0 commit comments

Comments
 (0)