ruff-pre-commit
A pre-commit hook for Ruff. (by astral-sh)
basic-django
By builtwithdjango
ruff-pre-commit | basic-django | |
---|---|---|
4 | 1 | |
699 | 5 | |
8.7% | - | |
8.5 | 3.3 | |
10 days ago | about 1 year ago | |
Python | Python | |
Apache License 2.0 | - |
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
basic-django
Posts with mentions or reviews of basic-django.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-04-05.
-
Improve your Django Code with pre-commit
Before we continue, I would like to mention that you can look at all the code that we wrote in this tutorial by looking into the pre-commit PR on the basic-django repo.
What are some alternatives?
When comparing ruff-pre-commit and basic-django you can also consider the following projects:
pyright - Static Type Checker for Python
ruff - An extremely fast Python linter and code formatter, written in Rust.
pre-commit-hooks - Some out-of-the-box hooks for pre-commit
isort - A Python utility / library to sort imports.
Flake8 - flake8 is a python tool that glues together pycodestyle, pyflakes, mccabe, and third-party plugins to check the style and quality of some python code.
ruff-action - A GitHub Action for Ruff
Poetry - Python packaging and dependency management made easy
djLint - ✨ HTML Template Linter and Formatter. Django - Jinja - Nunjucks - Handlebars - GoLang
ruff-pre-commit vs pyright
basic-django vs ruff
ruff-pre-commit vs pre-commit-hooks
basic-django vs isort
ruff-pre-commit vs ruff
basic-django vs Flake8
ruff-pre-commit vs isort
basic-django vs pre-commit-hooks
ruff-pre-commit vs ruff-action
basic-django vs Poetry
ruff-pre-commit vs Poetry
basic-django vs djLint