Contents

ruff 0.3.5

0

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

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

Stars: 25976, Watchers: 25976, Forks: 829, Open Issues: 779

The astral-sh/ruff repo was created 1 years ago and the last code push was 24 minutes ago.
The project is extremely popular with a mindblowing 25976 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 779 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.0.0

the modular source code checker: pep8 pyflakes and co

bandit 1.7.8

Security oriented static analyser for python code.

astroid 3.1.0

An abstract syntax tree for Python with inference support.

pyparsing 3.1.2

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