Skip to content

v2.17.2

Compare
Choose a tag to compare
@Pierre-Sassoulas Pierre-Sassoulas released this 03 Apr 12:22
· 680 commits to main since this release
de0147e

False Positives Fixed

  • invalid-name now allows for integers in typealias names:

    • now valid: Good2Name, GoodName2.
    • still invalid: _1BadName.

    Closes #8485

  • No longer consider Union as type annotation as type alias for naming
    checks.

    Closes #8487

  • unnecessary-lambda no longer warns on lambdas which use its parameters in
    their body (other than the final arguments), e.g.
    lambda foo: (bar if foo else baz)(foo).

    Closes #8496

Other Bug Fixes

  • Fix a crash in pyreverse when "/" characters are used in the output filename
    e.g pyreverse -o png -p name/ path/to/project.

    Closes #8504