diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 13a2d1b..a359450 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -9,11 +9,17 @@ repos: - id: black - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.0.282 + rev: v0.0.284 hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix] + - repo: https://github.com/econchick/interrogate + rev: 1.5.0 + hooks: + - id: interrogate + args: [tests] + - repo: https://github.com/codespell-project/codespell rev: v2.2.5 hooks: diff --git a/pyproject.toml b/pyproject.toml index b8bf9f2..1ec7f68 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -120,6 +120,12 @@ exclude_lines = [ ] +[tool.interrogate] +verbose = 2 +fail-under = 100 +whitelist-regex = ["test_.*"] + + [tool.mypy] strict = true