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

Update ruff settings #3558

Merged
merged 6 commits into from
Oct 2, 2024
Merged

Conversation

DimitriPapadopoulos
Copy link
Collaborator

@larsoner Could you review this PR?

Disable deprecated/problematic rules.
RUF022 `__all__` is not sorted
PLC0206 Extracting value from dictionary without calling `.items()`
PLW1514 `open` in text mode without explicit `encoding` argument
They do not seem worth applying in existing code.
F841 Local variable is assigned to but never used
"COM819",
"ISC001",
"ISC002",
]
Copy link
Member

Choose a reason for hiding this comment

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

Makes me think we should add toml-sort pre-commit at some point

@larsoner larsoner merged commit 6ed5df1 into codespell-project:main Oct 2, 2024
15 checks passed
@DimitriPapadopoulos DimitriPapadopoulos deleted the ruff branch October 2, 2024 16:59
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.

2 participants