Skip to content

v2.9.4

Compare
Choose a tag to compare
@Pierre-Sassoulas Pierre-Sassoulas released this 20 Jul 17:27
· 3462 commits to main since this release
  • Added time.clock to deprecated functions/methods for python 3.3

  • Fix bug in which --fail-on can return a zero exit code even when the specified issue is present

    Closes #4296
    Closes #3363

  • Fix hard failure when handling missing attribute in a class with duplicated bases

    Closes #4687

  • Fix false-positive consider-using-with (R1732) if a ternary conditional is used together with with

    Closes #4676

  • Fix false-positive deprecated-module when relative import uses deprecated module name.

    Closes #4629

  • Fix false-positive consider-using-with (R1732) if contextlib.ExitStack takes care of calling the __exit__ method

    Closes #4654

  • Fix a false positive for unused-private-member when mutating a private attribute
    with cls

    Closes #4657

  • Fix ignored empty functions by similarities checker with "ignore-signatures" option enabled

    Closes #4652

  • Fix false-positive of use-maxsplit-arg when index is incremented in
    a loop

    Closes #4664

  • Don't emit cyclic-import message if import is guarded by typing.TYPE_CHECKING.

    Closes #3525

  • Fix false-positive not-callable with alternative TypedDict syntax

    Closes #4715

  • Clarify documentation for consider-using-from-import

  • Don't emit unreachable warning for empty generator functions

    Closes #4698

  • Don't emit import-error, no-name-in-module, and ungrouped-imports
    for imports guarded by sys.version_info or typing.TYPE_CHECKING.

    Closes #3285
    Closes #3382

  • Fix invalid-overridden-method with nested property

    Closes #4368

  • Fix false-positive of unused-private-member when using __new__ in a class

    Closes #4668

  • No longer emit consider-using-with for ThreadPoolExecutor and ProcessPoolExecutor
    as they have legitimate use cases without a with block.

    Closes #4689

  • Fix crash when inferring variables assigned in match patterns

    Closes #4685

  • Fix a crash when a StopIteration was raised when inferring
    a faulty function in a context manager.

    Closes #4723