Skip to content

Version 0.17.0

Compare
Choose a tag to compare
@sobolevn sobolevn released this 27 Sep 11:36
· 463 commits to master since this release
657508a

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

Misc

  • 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