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/.*(?