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 inSomeType | 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
towemake-python-styleguide.rtfd.io
- ๐ฅ Breaking: drops