wemake-python-styleguide v0.15.2 Release Notes

  • ๐Ÿ›  Bugfixes

    • ๐Ÿ›  Fixes BitwiseAndBooleanMixupViolation work with PEP 604 union types #1884
    • ๐Ÿ›  Fixes CognitiveModuleComplexityViolation to not trigger for a single-item modules
    • ๐Ÿ›  Fixes that ConstantConditionViolation was not reported for a BoolOp
    • Functions and methods marked as @overload or @typing.overload do not count in complexity rules


    • โšก๏ธ Updates GitHub Action's base Python image version to 3.8.8

    ๐Ÿ”‹ Features

    • โž• Adds a math operations evaluator to improve and allow several violation checks.