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

Enable flake8-2020 linting rules #1324

Merged
merged 9 commits into from
Mar 11, 2025
Merged

Enable flake8-2020 linting rules #1324

merged 9 commits into from
Mar 11, 2025

Conversation

bmos
Copy link
Contributor

@bmos bmos commented Mar 1, 2025

Enable flake8-2020 linting rules

Copy link

github-actions bot commented Mar 1, 2025

Coverage report

This PR does not seem to contain any modification to coverable code.

Copy link
Collaborator

@austinweisgrau austinweisgrau left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are the new rules fully redundant with the ruff defaults, or did we just happen to follow all of them through luck / good style? The latter seems doubtful to me. Maybe they're redundant with black, if not ruff, and got taken care of with the old black formatting configs? IDK

@bmos
Copy link
Contributor Author

bmos commented Mar 3, 2025

I think it's a mix of all three of those, actually.
Especially the last one, the default ruff configuration is quite permissive.

@shaunagm
Copy link
Collaborator

@bmos can you take a quick look at this and either resolve the merge conflict or tell me how I should resolve it?

@bmos bmos changed the title Enable all the ruff rules we can without code changes Enable flake8-2020 linting rules Mar 11, 2025
@bmos
Copy link
Contributor Author

bmos commented Mar 11, 2025

Updated title since all but one commit were included in #1323

@shaunagm shaunagm merged commit e4e857a into move-coop:main Mar 11, 2025
69 checks passed
@bmos bmos deleted the ruff-rules branch March 11, 2025 17:27
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.

3 participants