Go to file
Henry Schreiner 99c84d0468
feat: always add --no-force-exclude (#20)
Closes #19.

Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>
2023-01-20 14:23:42 -05:00
.github/workflows Sleep when coming from repository_dispatch 2023-01-18 20:56:59 -05:00
.gitignore Initial commit 2022-09-19 20:52:36 -06:00
.pre-commit-hooks.yaml feat: always add --no-force-exclude (#20) 2023-01-20 14:23:42 -05:00
.version Mirror: 0.0.228 2023-01-20 18:50:21 +00:00
LICENSE Initial commit 2022-09-19 20:52:36 -06:00
README.md Set force-exclude in docs (#13) 2022-12-22 10:47:35 -05:00
setup.py Mirror: 0.0.228 2023-01-20 18:50:21 +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
      # Respect `exclude` and `extend-exclude` settings.
      args: ["--force-exclude"]

License

MIT