diff options
author | DudeNr33 <3929834+DudeNr33@users.noreply.github.com> | 2022-07-17 17:29:08 +0200 |
---|---|---|
committer | Andreas Finkler <3929834+DudeNr33@users.noreply.github.com> | 2022-07-17 18:13:46 +0200 |
commit | e650137a35762ffb0b259199aff703805850624c (patch) | |
tree | ad3776c7e99de584ee093e54cea860809eec012c /.pre-commit-config.yaml | |
parent | 36f14989694c64a3fdf7b6f7b44acff3639ad773 (diff) | |
download | pylint-git-e650137a35762ffb0b259199aff703805850624c.tar.gz |
Add pre-commit hook to verify format of news fragment
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 bc3caf3a7..ce8215044 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -85,6 +85,13 @@ repos: language: system types: [text] files: ^(doc/whatsnew/\d+\.\d+\.rst) + - id: check-newsfragments + name: Check newsfragments + entry: python3 -m script.check_newsfragments + language: system + types: [text] + files: ^(doc/whatsnew/fragments) + exclude: doc/whatsnew/fragments/_.*.rst - repo: https://github.com/rstcheck/rstcheck rev: "v6.0.0.post1" hooks: |