Skip to content

Latest commit

 

History

History
40 lines (24 loc) · 1.38 KB

2.9.rst

File metadata and controls

40 lines (24 loc) · 1.38 KB

What's New in Pylint 2.9

Release

2.9

Date

TBA

Summary -- Release highlights

New checkers

  • consider-using-dict-items: Emitted when iterating over dictionary keys and then indexing the same dictionary with the key within loop body.
  • consider-using-maxsplit-arg: Emitted either when accessing only the first or last element of str.split().
  • An ignore_signatures option has been added to the similarity checker. It will permits to reduce false positives when multiple functions have the same parameters.

Other Changes

  • Pylint's tags are now the standard form vX.Y.Z and not pylint-X.Y.Z anymore.
  • Fix false-positive too-many-ancestors when inheriting from builtin classes, especially from the collections.abc module
  • The output messages for arguments-differ error message have been customized based on the different error cases.
  • New option --fail-on=<msg ids> to return non-zero exit codes regardless of fail-under value.
  • A new error called arguments-renamed has been created, which identifies any changes at the parameter names of overridden functions. It aims to separate the functionality of arguments-differ.
  • Fix incompatibility with Python 3.6.0 caused by typing.Counter and typing.NoReturn usage