diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index af08df62..afbf8f0b 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,4 +1,5 @@ --- +exclude: ^(examples/|tests/) repos: - repo: https://github.com/pre-commit/pre-commit-hooks rev: v3.2.0 diff --git a/pyproject.toml b/pyproject.toml index 78560060..066b6004 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -75,7 +75,7 @@ line-length = 88 select = ["E", "F", "I", "PT", "D"] ignore-init-module-imports = true ignore = ["D211", "D213", "E741", "D105", "E712"] -exclude = ["docs"] +exclude = ["examples", "tests", "docs"] [tool.ruff.pydocstyle] convention = "numpy"