Contents

ruff 0.4.9

0

An extremely fast Python linter and code formatter, written in Rust.

An extremely fast Python linter and code formatter, written in Rust.

Stars: 28212, Watchers: 28212, Forks: 913, Open Issues: 919

The astral-sh/ruff repo was created 1 years ago and the last code push was an hour ago.
The project is extremely popular with a mindblowing 28212 github stars!

How to Install ruff

You can install ruff using pip

pip install ruff

or add it to a project with poetry

poetry add ruff

Package Details

Author
Charlie Marsh <[email protected]>
License
MIT
Homepage
https://docs.astral.sh/ruff
PyPi:
https://pypi.org/project/ruff/
Documentation:
https://docs.astral.sh/ruff/
GitHub Repo:
https://github.com/charliermarsh/ruff

Classifiers

  • Software Development/Libraries/Python Modules
  • Software Development/Quality Assurance
No  ruff  pypi packages just yet.

Errors

A list of common ruff errors.

Code Examples

Here are some ruff code examples and snippets.

GitHub Issues

The ruff package has 919 open issues on GitHub

  • RUF013: unproper handling of quotes around annotations
  • Bump version to 0.0.274
  • Add unexplained-noqa rule
  • Cross compile from linux to mac
  • wip Format StmtTry
  • Fix AST visitor traversal order
  • Formatter: UnaryOp
  • Consistently name comment own line/end-of-line line_position()
  • Keep track of when files are last seen in the cache
  • Add days-old flag to ruff clean
  • Format function argument separator comments
  • Fix remaining CPython formatter errors except for function argument separator comments
  • Improve debuggability of place_comment
  • Renable black compatibility test
  • Format UnaryExpr

See more issues on GitHub

Related Packages & Articles

flake8 7.1.1

the modular source code checker: pep8 pyflakes and co

bandit 1.7.10

Security oriented static analyser for python code.

astroid 3.3.5

An abstract syntax tree for Python with inference support.

pyparsing 3.2.0

pyparsing module - Classes and methods to define and execute parsing grammars