Skip to content

chore(tooling): change ruff format's flag from --diff to --check in tox.ini #1838

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jul 2, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ description = Lint and code formatting checks (ruff)
extras = lint
commands =
ruff check --no-fix --show-fixes {[testenv]python_source_dirs}
ruff format --diff {[testenv]python_source_dirs}
ruff format --check {[testenv]python_source_dirs}

[testenv:typecheck]
description = Run type checking (mypy)
Expand Down Expand Up @@ -58,7 +58,7 @@ setenv =
DYLD_FALLBACK_LIBRARY_PATH = /opt/homebrew/lib
commands =
ruff check --no-fix --show-fixes docs/scripts
ruff format --diff docs/scripts
ruff format --check docs/scripts
mkdocs build --strict

[testenv:pytest]
Expand Down
Loading