Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Apply pyupgrade autofixes #341

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

Avasam
Copy link
Contributor

@Avasam Avasam commented Nov 8, 2024

(based on #339, so merge that one first) Done

I added UP to Ruff's select. https://docs.astral.sh/ruff/rules/#pyupgrade-up (and ignored two rules known to be problematic)
Then run ruff check --fix --unsafe-fixes --preview (over a thousand autofixed)
Then manual changes for deprecated-import (UP035)

@Avasam Avasam marked this pull request as draft November 8, 2024 03:48
@Avasam Avasam force-pushed the Apply-pyupgrade-autofixes branch from 3fc6827 to b4191eb Compare November 10, 2024 19:32
@Avasam Avasam marked this pull request as ready for review November 10, 2024 19:32
@Avasam Avasam force-pushed the Apply-pyupgrade-autofixes branch from b4191eb to a113c02 Compare November 22, 2024 18:05
@Avasam Avasam force-pushed the Apply-pyupgrade-autofixes branch from a113c02 to 01b25d5 Compare January 28, 2025 20:38
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