summaryrefslogtreecommitdiff
path: root/script/bump_changelog.py
diff options
context:
space:
mode:
authorMarc Mueller <30130371+cdce8p@users.noreply.github.com>2021-08-12 20:12:12 +0200
committerMarc Mueller <30130371+cdce8p@users.noreply.github.com>2021-08-12 20:12:12 +0200
commit4225d2e2138d9a207a3a537193c8d693abc4d90c (patch)
tree4ea216229497a471ac9161621df83fdc61a13484 /script/bump_changelog.py
parent0b9e449111cbf59d23c23a1a98eea67ddd56ddf6 (diff)
downloadpylint-git-4225d2e2138d9a207a3a537193c8d693abc4d90c.tar.gz
Revert "Extended consider-using-tuple check to cover 'in' comparisons (#4768)"
This reverts commit ca3bc53fd8d628473fba25c7736d0abfac8e4a4a.
Diffstat (limited to 'script/bump_changelog.py')
-rw-r--r--script/bump_changelog.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/bump_changelog.py b/script/bump_changelog.py
index 71c9c8833..41c8c3c8a 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}"