Commit f0878e96 authored by Jason R. Coombs's avatar Jason R. Coombs

Exempt README as well. Ref #2395.

parent 2b52be2f
...@@ -66,10 +66,11 @@ def check_changes(): ...@@ -66,10 +66,11 @@ def check_changes():
names. names.
""" """
allowed = 'deprecation', 'breaking', 'change', 'doc', 'misc' allowed = 'deprecation', 'breaking', 'change', 'doc', 'misc'
except_ = 'README.rst', '.gitignore'
assert all( assert all(
any(key in file.name for key in allowed) any(key in file.name for key in allowed)
for file in pathlib.Path('changelog.d').iterdir() for file in pathlib.Path('changelog.d').iterdir()
if file.name != '.gitignore' if file.name not in except_
) )
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment