Skip to content

Commit

Permalink
Pin ruff==0.5.1 (#640) (#641)
Browse files Browse the repository at this point in the history
We pin most of our linters, but we have gotten away so far without
pinning ruff.  However, today CI is broken because the ruff 0.5.2
(patchlevel) release seems to have added a rule.  (Or maybe it
fixed a rule that was broken before.  Either way, it broke us.)

From here forward, let's pin ruff, too, and dependabot can propose
updating the version from time to time, just as it does with the
other linters.

(cherry picked from commit 250e61a)

Co-authored-by: Jim Garrison <[email protected]>
  • Loading branch information
mergify[bot] and garrison authored Jul 16, 2024
1 parent e0046ab commit 932df46
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ nbtest = [
style = [
"autoflake==2.3.1",
"black[jupyter]~=24.1",
"ruff>=0.0.246",
"ruff==0.5.1",
"nbqa>=1.6.0",
]
lint = [
Expand Down

0 comments on commit 932df46

Please sign in to comment.