diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index fbc46381..6db5cf48 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -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: