diff options
author | Bryce Guinta <bryce.paul.guinta@gmail.com> | 2017-11-05 13:17:17 -0700 |
---|---|---|
committer | Ashley Whetter <AWhetter@users.noreply.github.com> | 2017-11-05 12:17:17 -0800 |
commit | 12c954eef9ff3764fb3c281ba0ffd7ff85c7f3ca (patch) | |
tree | a0e377f3afe642de72a0e35a261754fbbbace96d /CONTRIBUTORS.txt | |
parent | 63ee49942c98939de508e3d5d47e0dba31a2291e (diff) | |
download | pylint-git-12c954eef9ff3764fb3c281ba0ffd7ff85c7f3ca.tar.gz |
Extend trailing-comma-tuple check to more complex assignments (#1721)
* Extend trailing-comma-tuple check to more complex assignments
The previous implementation was too conservative with looking for
previous tokens associated with assignment: It looked only
at the immediately previous token, causing 'a = (5),' to not be
caught.
Now The current implementation backtracks to the start of the line
to find an assignment substring.
Fixes issue #1713
Diffstat (limited to 'CONTRIBUTORS.txt')
-rw-r--r-- | CONTRIBUTORS.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/CONTRIBUTORS.txt b/CONTRIBUTORS.txt index 23db6080c..8836bb82d 100644 --- a/CONTRIBUTORS.txt +++ b/CONTRIBUTORS.txt @@ -141,3 +141,5 @@ Order doesn't matter (not that much, at least ;) * Ahirnish Pareek, 'keyword-arg-before-var-arg' check * Guillaume Peillex: contributor. + +* Bryce Guinta: contributor |