Skip to content

Commit

Permalink
Lock the ruff version in tox.ini.
Browse files Browse the repository at this point in the history
Previously, we'd install whatever is the latest ruff, but ruff can introduce new
warnings/errors which would then cause CI to break even if the same change worked
previously. This is undesirable as it can require significant changes to a PR just
to pass again.
  • Loading branch information
Anteru committed Apr 28, 2024
1 parent c9165cf commit 24deeb9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ commands =
description =
miscellaneous checks on the source code, including pyflakes
deps =
ruff
ruff==0.4.2
commands =
python scripts/check_crlf.py pygments external
python scripts/detect_missing_analyse_text.py --skip-no-aliases
Expand Down

0 comments on commit 24deeb9

Please sign in to comment.