![]() https://github.com/charliermarsh/ruff-pre-commit/pull/20 added the flag in pre-commit configuration, but since the source of truth is `pre-commit-mirror` command in the CI workflow, it is replaced by `ruff`, as can be shown in
|
||
---|---|---|
.github/workflows | ||
.gitignore | ||
.pre-commit-hooks.yaml | ||
.version | ||
LICENSE | ||
README.md | ||
setup.py |
ruff-pre-commit
A pre-commit hook for Ruff.
Distributed as a standalone repository to enable installing Ruff via prebuilt wheels from PyPI.
For pre-commit: see https://github.com/pre-commit/pre-commit
For Ruff: see https://github.com/charliermarsh/ruff
Using ruff with pre-commit
Add this to your .pre-commit-config.yaml
:
- repo: https://github.com/charliermarsh/ruff-pre-commit
# Ruff version.
rev: 'v0.0.191'
hooks:
- id: ruff
License
MIT