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 ruff lints and fix them #1313

Open
berquist opened this issue Dec 4, 2023 · 0 comments
Open

Enable ruff lints and fix them #1313

berquist opened this issue Dec 4, 2023 · 0 comments
Assignees
Milestone

Comments

@berquist
Copy link
Member

berquist commented Dec 4, 2023

A follow up and more systematic approach to #1303.

This is, at least initially, a catch-all for cleaning up the codebase.

Deleting this line

select = []
reverts to the default set of linting rules, which is (https://docs.astral.sh/ruff/configuration/)

select = ["E4", "E7", "E9", "F"]

which enables all rules beginning with the given prefix. Above, this is all rules originating pyflakes and some originating from pycodestyle.

All available rules are at https://docs.astral.sh/ruff/rules/. Beginning with the default rules seems like an ok starting place.

@berquist berquist added this to the v1.8.1 milestone Dec 4, 2023
@berquist berquist modified the milestones: v1.8.1, v2.0 Dec 19, 2023
@berquist berquist self-assigned this May 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant