wemake-python-styleguide v0.17.0 Release Notes

  • ๐Ÿ”‹ Features

    • ๐Ÿ’ฅ Breaking: drops python3.6 support
    • โž• Adds support for pattern matching naming rules, same as other variables
    • โž• Adds --show-violation-links option to show links to violation docs
    • Adds __init_subclass__ in the beginning of accepted methods order as per WPS338 #2411
    • โž• Adds WrongEmptyLinesCountViolation to check for too many lines in functions and methods definitions #2486

    ๐Ÿ›  Bugfixes

    • ๐Ÿ›  Fixes WPS226 false positives on | use in SomeType | AnotherType type hints syntax
    • Now -1 is not reported to be an overused expression
    • Allow __aiter__ to be async iterator
    • โž• Adds violation method name to error message of YieldMagicMethodViolation
    • ๐Ÿ›  Fixes direct docker image invocation #2492


    • โž• Adds full violation codes to docs and BaseViolation.full_code #2409
    • ๐Ÿ›  Fix documentation mismatch between default setting for max-string-usages and enforced rule #2456
    • ๐Ÿ’… Domain name was changed from wemake-python-stylegui.de to wemake-python-styleguide.rtfd.io