diff options
author | Claudiu Popa <pcmanticore@gmail.com> | 2018-09-29 09:00:52 +0200 |
---|---|---|
committer | Claudiu Popa <pcmanticore@gmail.com> | 2018-09-29 09:00:52 +0200 |
commit | d9a115d7537c55cdff910eee97c683d4dd795634 (patch) | |
tree | 9e0fd5fd19a1782331c2735d1f7e9b3633f1e87b /ChangeLog | |
parent | 3c2fb0ef2f640675079a1f9c56d2bc81f7b809dd (diff) | |
download | pylint-git-d9a115d7537c55cdff910eee97c683d4dd795634.tar.gz |
Change ``unbalanced-tuple-unpacking`` back to a warning.
It used to be a warning until a couple of years ago, after it was promoted to
an error. But the check might be suggesting the wrong thing in some cases,
for instance when checking against ``sys.argv`` which cannot be known at static
analysis time. Given it might rely on potential unknown data, it's best to
have it as a warning.
Close #2522
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -7,6 +7,16 @@ What's New in Pylint 2.2? Release date: TBA + * Change ``unbalanced-tuple-unpacking`` back to a warning. + + It used to be a warning until a couple of years ago, after it was promoted to + an error. But the check might be suggesting the wrong thing in some cases, + for instance when checking against ``sys.argv`` which cannot be known at static + analysis time. Given it might rely on potential unknown data, it's best to + have it as a warning. + + Close #2522 + * Remove ``enumerate`` usage suggestion when defining ``__iter__`` (C0200) Close #2477 |