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 flake8+pycodestyles autofixes #342

Open
wants to merge 1 commit 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 W to Ruff's extend-select https://docs.astral.sh/ruff/rules/#pycodestyle-e-w + https://docs.astral.sh/ruff/rules/#pyflakes-f
Then run ruff check --fix --preview: Found 2479 errors (2423 fixed, 56 remaining).
Then ignore the checks still failing to keep this PR to automated fixes only. (because Ruff has no config to set as warning: astral-sh/ruff#1256)

Note that flake8-future-annotations (FA) was already passing on main, so I just included it.

@Avasam Avasam marked this pull request as draft November 8, 2024 04:09
@Avasam Avasam force-pushed the Apply-pycodestyles-autofixes branch 2 times, most recently from 057c01d to 972571a Compare November 10, 2024 19:31
@Avasam Avasam marked this pull request as ready for review November 10, 2024 19:31
@Avasam Avasam force-pushed the Apply-pycodestyles-autofixes branch from 972571a to 3263aa3 Compare November 22, 2024 18:01
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