github wemake-services/wemake-python-styleguide 0.17.0
Version 0.17.0

latest releases: 0.19.2, 0.19.1, 0.19.0...
2 years ago

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

Don't miss a new wemake-python-styleguide release

NewReleases is sending notifications on new releases.