Add pre-commit hook to check Authors.rst

develop
lethosor 2022-05-01 13:23:41 -04:00
parent 4439333f58
commit e077e95f69
No known key found for this signature in database
GPG Key ID: 76A269552F4F58C1
1 changed files with 8 additions and 0 deletions

@ -32,4 +32,12 @@ repos:
exclude_types:
- json
# specific to dfhack:
- repo: local
hooks:
- id: authors-rst
name: Check Authors.rst
language: python
entry: python3 ci/authors-rst.py
files: docs/Authors\.rst
pass_filenames: false
exclude: '^(depends/|data/examples/.*\.json$|.*\.diff$)'