diff options
| author | Jason R. Coombs <jaraco@jaraco.com> | 2020-10-14 20:09:11 -0400 |
|---|---|---|
| committer | Jason R. Coombs <jaraco@jaraco.com> | 2020-10-14 20:10:41 -0400 |
| commit | f0878e963c3a1086570712d072e967e5c8b57e6a (patch) | |
| tree | 4651d7679ff2c01bbe62a2f5547fc62556c1fca5 /tools/finalize.py | |
| parent | 2b52be2f4e26dd5865db2714cc7d7cb09b4b5b94 (diff) | |
| download | python-setuptools-git-f0878e963c3a1086570712d072e967e5c8b57e6a.tar.gz | |
Exempt README as well. Ref #2395.
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_ ) |
