Skip to content

claude: enforce ruff UP031 and UP037 lint rules - #4770

Merged
Liam-DeVoe merged 3 commits into
HypothesisWorks:masterfrom
Liam-DeVoe:ignore-up037
Jun 19, 2026
Merged

claude: enforce ruff UP031 and UP037 lint rules#4770
Liam-DeVoe merged 3 commits into
HypothesisWorks:masterfrom
Liam-DeVoe:ignore-up037

Conversation

@Liam-DeVoe

@Liam-DeVoe Liam-DeVoe commented Jun 19, 2026

Copy link
Copy Markdown
Member
Details This removes ``UP031`` (printf-string-formatting) and ``UP037`` (quoted-annotation) from the ruff ignore list, and applies the corresponding fixes.

UP037 needed no code changes on master. UP031 flagged three
%-style format strings, which ruff cannot autofix, so they were
rewritten to f-strings by hand. Each rewrite was checked to produce
byte-identical output to the original. There is no user-visible change.

@Liam-DeVoe Liam-DeVoe changed the title Enforce ruff UP031 and UP037 lint rules claude: enforce ruff UP031 and UP037 lint rules Jun 19, 2026
@Liam-DeVoe
Liam-DeVoe merged commit 7d90a93 into HypothesisWorks:master Jun 19, 2026
77 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