We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
ruff format
--diff
--check
tox.ini
1 parent 5e68194 commit b4d7826Copy full SHA for b4d7826
tox.ini
@@ -22,7 +22,7 @@ description = Lint and code formatting checks (ruff)
22
extras = lint
23
commands =
24
ruff check --no-fix --show-fixes {[testenv]python_source_dirs}
25
- ruff format --diff {[testenv]python_source_dirs}
+ ruff format --check {[testenv]python_source_dirs}
26
27
[testenv:typecheck]
28
description = Run type checking (mypy)
@@ -58,7 +58,7 @@ setenv =
58
DYLD_FALLBACK_LIBRARY_PATH = /opt/homebrew/lib
59
60
ruff check --no-fix --show-fixes docs/scripts
61
- ruff format --diff docs/scripts
+ ruff format --check docs/scripts
62
mkdocs build --strict
63
64
[testenv:pytest]
0 commit comments