Skip to content

Commit

Permalink
Pin ruff==0.5.1 (#640)
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.
  • Loading branch information
garrison authored Jul 16, 2024
1 parent 14acf91 commit 250e61a
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 @@ -54,7 +54,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 250e61a

Please sign in to comment.