Page MenuHomeSolus

Update pylint to 1.8.3
ClosedPublic

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

Details

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

Diff Detail

Repository
R3714 pylint
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

kyrios123 created this revision.Mar 19 2018, 8:33 PM
kyrios123 requested review of this revision.Mar 19 2018, 8:33 PM
sunnyflunk accepted this revision.Mar 24 2018, 1:25 AM
This revision is now accepted and ready to land.Mar 24 2018, 1:25 AM
This revision was automatically updated to reflect the committed changes.