Skip to content

Upgrade to ruff 0.16 - #467

Merged
pehrsoderman merged 5 commits into
Kattis:masterfrom
gkreitz:ruff_0_16
Aug 24, 2026
Merged

Upgrade to ruff 0.16#467
pehrsoderman merged 5 commits into
Kattis:masterfrom
gkreitz:ruff_0_16

Conversation

@gkreitz

@gkreitz gkreitz commented Aug 24, 2026

Copy link
Copy Markdown
Contributor

Ruff 0.16 enabled a lot of new rules, so we held it back for a bit. This PR moves us to ruff 0.16.

Lots of small, scattered changes, mostly mechanical. E.g., %-strings moving to f-strings, and using a context handler to ensure we quickly close files again. A few checks were excluded, as I feel they are a poor fit for problemtools.

@pehrsoderman
pehrsoderman merged commit b531e0d into Kattis:master Aug 24, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants