diff options
author | Anthony Sottile <asottile@umich.edu> | 2018-08-01 15:21:34 -0700 |
---|---|---|
committer | Anthony Sottile <asottile@umich.edu> | 2018-08-01 15:22:43 -0700 |
commit | a80e031c629b80ee6921482bbb8aa13764a3068b (patch) | |
tree | 6bc1313b9d085b4ad1c3381686bc0ea409c6e89c /.pre-commit-config.yaml | |
parent | f25683354e95ea13801e4984873bbf3352b97ff1 (diff) | |
download | pytest-a80e031c629b80ee6921482bbb8aa13764a3068b.tar.gz |
Enforce that changelog files are .rst
Diffstat (limited to '.pre-commit-config.yaml')
-rw-r--r-- | .pre-commit-config.yaml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 635d8452f..bac8bb6e2 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -38,3 +38,8 @@ repos: language: python additional_dependencies: [pygments, restructuredtext_lint] python_version: python3.6 + - id: changelogs-rst + name: changelog files must end in .rst + entry: ./scripts/fail + language: script + files: 'changelog/.*(?<!\.rst)$' |