diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index c5c4d48..3075055 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -80,6 +80,7 @@ repos: hooks: - id: rstcheck additional_dependencies: [sphinx] + exclude: "^(docs/_templates)" - repo: https://github.com/pre-commit/pygrep-hooks rev: v1.9.0 diff --git a/setup.cfg b/setup.cfg index e136de1..fd72ba8 100644 --- a/setup.cfg +++ b/setup.cfg @@ -66,7 +66,7 @@ convention = numpy test = pytest [rstcheck] -ignore_directives = autoattribute,autoclass,autoexception,autofunction,automethod,automodule,highlight +ignore_directives = highlight,autosummary [mypy] show_error_codes = True