ruff-pre-commit/README.md
Hugo van Kemenade 88a2db201e
README: --force-exclude is already set (#21)
Re: https://github.com/charliermarsh/ruff-pre-commit/issues/19 / https://github.com/charliermarsh/ruff-pre-commit/pull/20

If I understand this is now always set, no need to include it in the README example.
2023-01-20 17:15:38 -05:00

27 lines
585 B
Markdown

# ruff-pre-commit
A [pre-commit](https://pre-commit.com/) hook for [Ruff](https://github.com/charliermarsh/ruff).
Distributed as a standalone repository to enable installing Ruff via prebuilt wheels from
[PyPI](https://pypi.org/project/ruff/).
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`:
```yaml
- repo: https://github.com/charliermarsh/ruff-pre-commit
# Ruff version.
rev: 'v0.0.191'
hooks:
- id: ruff
```
## License
MIT