diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index b04f98c40d0..9dd76c9f816 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -94,10 +94,10 @@ repos: stages: [manual] - id: rst name: rst - entry: rst-lint --encoding utf-8 + entry: rst-lint files: ^(RELEASING.rst|README.rst|TIDELIFT.rst)$ language: python - additional_dependencies: [pygments, restructuredtext_lint] + additional_dependencies: [pygments, restructuredtext_lint>=2.0.0] - id: changelogs-rst name: changelog filenames language: fail