ruff-pre-commit
A pre-commit hook for Ruff. (by astral-sh)
yesqa
Automatically remove unnecessary `# noqa` comments (by asottile)
ruff-pre-commit | yesqa | |
---|---|---|
4 | 2 | |
699 | 258 | |
8.7% | - | |
8.5 | 6.9 | |
10 days ago | 6 days ago | |
Python | Python | |
Apache License 2.0 | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
ruff-pre-commit
Posts with mentions or reviews of ruff-pre-commit.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-12-08.
-
Embracing Modern Python for Web Development
repos: # run the Ruff linter - repo: https://github.com/astral-sh/ruff-pre-commit # Ruff version rev: v0.1.3 hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix] # run the Ruff formatter - repo: https://github.com/astral-sh/ruff-pre-commit # Ruff version rev: v0.1.3 hooks: - id: ruff-format
-
Enhancing Python Code Quality: A Comprehensive Guide to Linting with Ruff
- repo: https://github.com/astral-sh/ruff-pre-commit # Ruff version. rev: v0.0.277 hooks: - id: ruff # Ruff options. args: ["--paths", "src", "tests", "--exclude", "src/ignore.py"]
- Improve your Django Code with pre-commit
-
Ruff: A new, fast and correct Python checker/linter
And here's a pre-commit hook to save us some time. https://github.com/charliermarsh/ruff-pre-commit
yesqa
Posts with mentions or reviews of yesqa.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-05-05.
-
Which is your favourite or go-to YouTube channel for being up-to-date on Python?
He made yesqa and pyupgrade (among others), and also works on flake8. His main job is for https://sentry.io/.
-
Improve your Django Code with pre-commit
Ruff can be used to replace Flake8 (plus dozens of plugins), isort, pydocstyle, yesqa, eradicate, pyupgrade, and autoflake, all while executing tens or hundreds of times faster than any individual tool.
What are some alternatives?
When comparing ruff-pre-commit and yesqa you can also consider the following projects:
pyright - Static Type Checker for Python
pyupgrade - A tool (and pre-commit hook) to automatically upgrade syntax for newer versions of the language.
pre-commit-hooks - Some out-of-the-box hooks for pre-commit
djLint - ✨ HTML Template Linter and Formatter. Django - Jinja - Nunjucks - Handlebars - GoLang
ruff - An extremely fast Python linter and code formatter, written in Rust.
black - The uncompromising Python code formatter
isort - A Python utility / library to sort imports.
Sentry - Developer-first error tracking and performance monitoring
ruff-action - A GitHub Action for Ruff
Poetry - Python packaging and dependency management made easy
basic-django