diff options
author | DudeNr33 <3929834+DudeNr33@users.noreply.github.com> | 2021-06-30 19:45:06 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-30 19:45:06 +0200 |
commit | f10fb70e7b0752d0df938e50cc6c0b7f3b704944 (patch) | |
tree | 568426ae1030a844b8aa4ad08ee80d5d75a686a3 /.pre-commit-config.yaml | |
parent | 5bf3b470b7b1b35a35b998294ef9b83e95c729d8 (diff) | |
download | pylint-git-f10fb70e7b0752d0df938e50cc6c0b7f3b704944.tar.gz |
Add ``rstcheck`` to pre-commit configuration (#4641)
* Added ``rstcheck`` to pre-commit configuration, and fix errors detected by it
Diffstat (limited to '.pre-commit-config.yaml')
-rw-r--r-- | .pre-commit-config.yaml | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index b65f4a7b7..98f6ff8e1 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -67,6 +67,13 @@ repos: language: system types: [text] files: ^(ChangeLog|doc/whatsnew/\d+\.\d+\.rst) + - repo: https://github.com/myint/rstcheck + rev: "3f92957478422df87bd730abde66f089cc1ee19b" + hooks: + - id: rstcheck + args: ["--ignore-roles=func,class,mod", "--report=warning"] + types: [text] # necessary to include ChangeLog file + files: ^(ChangeLog|doc/(.*/)*.*\.rst) - repo: https://github.com/pre-commit/mirrors-mypy rev: v0.910 hooks: |