HomeSolus

Update pylint to 1.8.3

Authored by kyrios123 on Mar 19 2018, 8:32 PM.

Description

Update pylint to 1.8.3

Summary:

  • Fix false positive `inconsistent-return-statements` message when a function is defined under an if statement.
  • Exempt __doc__ from triggering a redefined-builtin __doc__ can be used to specify a docstring for a module without passing it as a first-statement string.
  • Don't crash on invalid strings when checking for logging-format-interpolation
  • Fix false positive `inconsistent-return-statements` message by avoiding useless exception inference if the exception is not handled.
  • Fix false positive undefined-variable for lambda argument in class definitions
  • Fix false-positive `undefined-variable` for generated comprehension variables in function default arguments

Signed-off-by: Pierre-Yves <pyu@riseup.net>

Test Plan:

  • Enable unit tests
  • Build spyder against this version

Reviewers: Triage Team, sunnyflunk

Reviewed By: Triage Team, sunnyflunk

Differential Revision: https://dev.solus-project.com/D2572

Details

Committed
kyrios123Mar 24 2018, 12:46 PM
Pushed
kyrios123Mar 24 2018, 12:46 PM
Reviewer
Triage Team
Differential Revision
D2572: Update pylint to 1.8.3
Parents
R3714:7774baf054b5: Rebuild for python 3.6
Branches
Unknown
Tags
Unknown
References
tag: pylint-1.8.3-7