Go to file
2023-02-01 00:48:44 +00:00
.github/workflows feat: set --force-exclude in pre-commit-mirror command (#23) 2023-01-21 17:46:31 -05:00
.gitignore Initial commit 2022-09-19 20:52:36 -06:00
.pre-commit-hooks.yaml Mirror: 0.0.230 2023-01-22 20:06:01 +00:00
.version Mirror: 0.0.239 2023-02-01 00:48:44 +00:00
LICENSE Initial commit 2022-09-19 20:52:36 -06:00
README.md README: --force-exclude is already set (#21) 2023-01-20 17:15:38 -05:00
setup.py Mirror: 0.0.239 2023-02-01 00:48:44 +00:00

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