diff options
Diffstat (limited to 'tools/finalize.py')
| -rw-r--r-- | tools/finalize.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/finalize.py b/tools/finalize.py index 98b06c07..35294281 100644 --- a/tools/finalize.py +++ b/tools/finalize.py @@ -66,10 +66,11 @@ def check_changes(): names. """ allowed = 'deprecation', 'breaking', 'change', 'doc', 'misc' + except_ = 'README.rst', '.gitignore' assert all( any(key in file.name for key in allowed) for file in pathlib.Path('changelog.d').iterdir() - if file.name != '.gitignore' + if file.name not in except_ ) |
