-
Notifications
You must be signed in to change notification settings - Fork 349
Better ruff rules #1236
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
Better ruff rules #1236
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR significantly expands the Ruff linting configuration by adding comprehensive rule sets covering security, performance, documentation, and code quality checks. The purpose is to enforce better code standards across the project while acknowledging that many existing violations will need to be addressed in future PRs.
- Replaces selective rule enabling (
extend-select
) with comprehensive rule coverage (select
) including 40+ rule categories - Adds extensive ignore lists for both general code and test files to handle existing violations
- Introduces per-file ignore patterns for test directories to allow more lenient standards in test code
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
You can also share your feedback on Copilot code review for a chance to win a $100 gift card. Take the survey.
Co-authored-by: Copilot <[email protected]>
Co-authored-by: Copilot <[email protected]>
Adds all the ruff rules.
Added all the issues under TODO to fix in another PR