Change linter to ruff

This commit is contained in:
James R. Barlow
2023-04-14 00:05:43 -07:00
parent 765ed4c386
commit 5fce50ff7c
+6
View File
@@ -15,6 +15,12 @@ repos:
hooks:
- id: isort
args: ["--profile", "black", "-a", "from __future__ import annotations"]
- repo: https://github.com/charliermarsh/ruff-pre-commit
rev: "v0.0.261"
hooks:
- id: ruff
files: "src/.*\\.pyi?$"
args: [--fix, --exit-non-zero-on-fix]
- repo: https://github.com/psf/black
rev: 22.6.0
hooks: