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 more ruff lints #7005

Merged
merged 7 commits into from
Mar 8, 2024
Merged

Enable more ruff lints #7005

merged 7 commits into from
Mar 8, 2024

Conversation

aljazerzen
Copy link
Contributor

Not a lot, but now it should find trailing whitespace and a few other things.
See: https://docs.astral.sh/ruff/rules/#warning-w

There is a lot more lints in "preview" and they can be ran with:

ruff check --preview .

This PR also fixes most of them and disables other checks.

Not a lot, but now it should find trailing whitespace and a few other things.
See: https://docs.astral.sh/ruff/rules/#warning-w

There is a lot more lints in "preview" and they can be ran with:
```
ruff check --preview .
```
This PR also fixes most of them and disables other checks.
@aljazerzen aljazerzen requested a review from msullivan March 7, 2024 14:16
Copy link
Member

@msullivan msullivan left a comment

Choose a reason for hiding this comment

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

We can probably just turn on --preview, I'm not too worried

@aljazerzen aljazerzen merged commit a0f86c3 into master Mar 8, 2024
23 checks passed
@aljazerzen aljazerzen deleted the more-ruff branch March 8, 2024 12:46
@msullivan
Copy link
Member

(Not actually backported)

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