wemake-python-styleguide v0.16.0 Release Notes

  • ๐Ÿ”‹ Features

    • Forbids using non-trivial expressions as an argument to except
    • Forbids using too many variables in a tuple unpacking
    • Forbids using float("NaN").
    • Allow __call__ method to be asynchronous
    • ๐Ÿ‘ Allows common strings not to be counted against string constant overuse limit

    ๐Ÿ›  Bugfixes

    • ๐Ÿ›  Fixes fails of annotation complexity on Literal[""].

    Misc

    • Introduce helper script to check for missing calls to self.generic_visit(node) in AST visitors
    • โšก๏ธ Updates poetry version to 1.1