Skip to content

Apply flake8+pycodestyles autofixes #342

New issue

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

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

Already on GitHub? # to your account

Merged
merged 4 commits into from
Mar 26, 2025

Conversation

Avasam
Copy link
Contributor

@Avasam Avasam commented Nov 8, 2024

(based on #339, so merge that one first) Done
Overlaps some import changes with #341, probably best to merge that one first as it has automated fixes.

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 and manually fixed all lint issues.
F401 is ignored because it would change which symbols are even visible for Pylance. Which may negatively affect users, especially if the symbol wasn't meant to be re-exported.

@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
@Avasam Avasam force-pushed the Apply-pycodestyles-autofixes branch 2 times, most recently from 39730c2 to 42cb5f0 Compare January 28, 2025 20:46
@Avasam Avasam marked this pull request as draft January 30, 2025 04:19
@Avasam Avasam marked this pull request as ready for review January 30, 2025 04:53
@debonte
Copy link
Contributor

debonte commented Jan 30, 2025

@Avasam, is there any particular order that the remaining PRs should be merged in?

@Avasam
Copy link
Contributor Author

Avasam commented Jan 30, 2025

@Avasam, is there any particular order that the remaining PRs should be merged in?

Not really. They can be done in any order. There's some overlap, but I'll deal with conflicts and new issues as they come up.
Also feel free to squash merge them all.

@Avasam Avasam force-pushed the Apply-pycodestyles-autofixes branch from 7c64026 to c21ac43 Compare March 15, 2025 16:49
@debonte debonte merged commit 6be1479 into microsoft:main Mar 26, 2025
3 checks passed
@Avasam Avasam deleted the Apply-pycodestyles-autofixes branch March 26, 2025 00:10
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants