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
- Extend PERF401 to flag loops that use a temporary variable before append
- Rule for copying mutable objects between two persistent variables
- Detect `if-elif` with same condition causing unreachable branch
- Rule for blank line at start of file
- RUF012 warns for pydantic.v1.main.BaseModel
- detect unnecessary keys() call in e.g. `for k in sorted(my_dict.keys()):`
- False-positive of PLR0206 with decorator injecting parameter into method
- Consider replacing bincode
- Identical/duplicate rules: compare-with-tuple (SIM109) and repeated-equality-comparison (PLR1714)
- Do not split subscripts for literals or `Name`s
- Docs
- Rust not yet supported