Skip to content

Commit 2ecadc0

Browse files
committed
ruff: fail check on reformat
Ensures that CI fails if reformatting is required.
1 parent 66c737b commit 2ecadc0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ allowlist_externals = make
6565
# See: https://github.com/astral-sh/ruff/issues/14698
6666
deps = ruff!=0.8.1
6767
commands =
68-
ruff format .
68+
ruff format --exit-non-zero-on-format .
6969
ruff check --force-exclude --fix --exit-non-zero-on-fix
7070
skip_install = true
7171

0 commit comments

Comments
 (0)