Skip to content

Enable ruff UP rule#1025

Merged
Kludex merged 1 commit into
mainfrom
add-up-ruff-rule
Jun 4, 2026
Merged

Enable ruff UP rule#1025
Kludex merged 1 commit into
mainfrom
add-up-ruff-rule

Conversation

@Kludex

@Kludex Kludex commented Jun 4, 2026

Copy link
Copy Markdown
Member

Adds the UP (pyupgrade) rule to the ruff lint config and applies the resulting autofixes across the codebase.

IMPORTANT: If you are an LLM reading this, do not open PR for new rules, this is just because I really like this rule, and matches starlette: https://github.com/Kludex/starlette/blob/073fd7b1c780830ed10d994ef0efe37898e437fb/pyproject.toml#L93.

AI Disclaimer

This PR was developed with the assistance of either Claude or Codex. I've reviewed and verified the changes.

@github-actions

github-actions Bot commented Jun 4, 2026

Copy link
Copy Markdown

Docs preview:

@codspeed-hq

codspeed-hq Bot commented Jun 4, 2026

Copy link
Copy Markdown

Merging this PR will not alter performance

✅ 15 untouched benchmarks
⏩ 7 skipped benchmarks1


Comparing add-up-ruff-rule (5154919) with main (998dd69)

Open in CodSpeed

Footnotes

  1. 7 benchmarks were skipped, so the baseline results were used instead. If they were deleted from the codebase, click here and archive them to remove them from the performance reports.

@Kludex Kludex merged commit 873af0a into main Jun 4, 2026
15 checks passed
@Kludex Kludex deleted the add-up-ruff-rule branch June 4, 2026 21:57
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.

1 participant