ruff
https://github.com/astral-sh/ruff
Rust
An extremely fast Python linter and code formatter, written in Rust.
Triage Issues!
When you volunteer to triage issues, you'll receive an email each day with a link to an open issue that needs help in this project. You'll also receive instructions on how to triage issues.
Triage Docs!
Receive a documented method or class from your favorite GitHub repos in your inbox every day. If you're really pro, receive undocumented methods or classes and supercharge your commit history.
Rust not yet supported6 Subscribers
Add a CodeTriage badge to ruff
Help out
- Issues
- Use loop variables or variables defined in a loop outside the loop
- Relax DOC rules for private/inner methods
- New rule: require class attributes to go after docstring and before all method definitions
- RUF028: `fmt: on/off` comments around class signature not flagged as invalid
- Rule to require an error message with all asserts
- `ruff check --fix` to stdout when reading from stdin
- "Expected indented block" is propagated to the next cell
- new rule - ban importing specific names from a module if the whole module is already imported (or vice versa)
- `pytest-composite-assertion` (`PT018`) - "Why is this bad?" documentation is misleading
- Consider using `Diagnostic`s for semantic syntax errors
- Docs
- Rust not yet supported