diff --git a/{{ cookiecutter.package_name }}/.pre-commit-config.yaml b/{{ cookiecutter.package_name }}/.pre-commit-config.yaml index 4fbb3d6..97b61f4 100644 --- a/{{ cookiecutter.package_name }}/.pre-commit-config.yaml +++ b/{{ cookiecutter.package_name }}/.pre-commit-config.yaml @@ -41,6 +41,12 @@ repos: args: [ "--write-changes" ] types_or: [python, rst] exclude: *exclude_dirs + - repo: https://github.com/sphinx-contrib/sphinx-lint + rev: v1.0.2 + hooks: + - id: sphinx-lint + types_or: [python, rst] + exclude: *exclude_dirs ci: autofix_prs: false autoupdate_schedule: "quarterly"