diff options
author | Marc Mueller <30130371+cdce8p@users.noreply.github.com> | 2021-07-29 16:38:22 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-29 16:38:22 +0200 |
commit | ca3bc53fd8d628473fba25c7736d0abfac8e4a4a (patch) | |
tree | cea567b6a740190d7ae572c983e2febe9a7c6547 /script | |
parent | 68a22eb33f342d42628c1911e22e5550ffe416d8 (diff) | |
download | pylint-git-ca3bc53fd8d628473fba25c7736d0abfac8e4a4a.tar.gz |
Extended consider-using-tuple check to cover 'in' comparisons (#4768)
Diffstat (limited to 'script')
-rw-r--r-- | script/bump_changelog.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/script/bump_changelog.py b/script/bump_changelog.py index 41c8c3c8a..71c9c8833 100644 --- a/script/bump_changelog.py +++ b/script/bump_changelog.py @@ -136,7 +136,7 @@ def do_checks(content, next_version, version, version_type): wn_next_version = get_whats_new(next_version) wn_this_version = get_whats_new(version) # There is only one field where the release date is TBA - if version_type in [VersionType.MAJOR, VersionType.MINOR]: + if version_type in (VersionType.MAJOR, VersionType.MINOR): assert ( content.count(RELEASE_DATE_TEXT) <= 1 ), f"There should be only one release date 'TBA' ({version}) {err}" |