ruff-pre-commit/README.md
2022-11-07 23:56:03 -05:00

609 B

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