Go to file
2022-10-27 17:05:41 -04:00
.github/workflows Deprecate hook name lint; add hook name ruff (#4) 2022-10-27 17:05:41 -04:00
.gitignore Initial commit 2022-09-19 20:52:36 -06:00
.pre-commit-hooks.yaml Deprecate hook name lint; add hook name ruff (#4) 2022-10-27 17:05:41 -04:00
.version Mirror: 0.0.85 2022-10-27 01:04:41 +00:00
LICENSE Initial commit 2022-09-19 20:52:36 -06:00
README.md Deprecate hook name lint; add hook name ruff (#4) 2022-10-27 17:05:41 -04:00
setup.py Mirror: 0.0.85 2022-10-27 01:04:41 +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
    rev: ''  # Use the sha / tag you want to point at
    hooks:
      - id: ruff

License

MIT