Skip to content

v2.14.1

Compare
Choose a tag to compare
@Pierre-Sassoulas Pierre-Sassoulas released this 06 Jun 20:30
· 1883 commits to main since this release
  • Avoid reporting unnecessary-dict-index-lookup or unnecessary-list-index-lookup
    when the index lookup is part of a destructuring assignment.

    Closes #6788

  • Fixed parsing of unrelated options in tox.ini.

    Closes #6800

  • Fixed a crash when linting __new__() methods that return a call expression.

    Closes #6805

  • Don't crash if we can't find the user's home directory.

    Closes #6802

  • Fixed false positives for unused-import when aliasing typing e.g. as t
    and guarding imports under t.TYPE_CHECKING.

    Closes #3846

  • Fixed a false positive regression in 2.13 for used-before-assignment where it is safe to rely
    on a name defined only in an except block because the else block returned.

    Closes #6790

  • Fixed the use of abbreviations for some special options on the command line.

    Closes #6810

  • Fix a crash in the optional pylint.extensions.private_import extension.

    Closes #6624

  • bad-option-value (E0012) is now a warning unknown-option-value (W0012). Deleted messages that do not exist
    anymore in pylint now raise useless-option-value (R0022) instead of bad-option-value. This allows to
    distinguish between genuine typos and configuration that could be cleaned up. Existing message disables for
    bad-option-value will still work on both new messages.

    Refs #6794