Skip to content

Version 0.16.0

Compare
Choose a tag to compare
@sobolevn sobolevn released this 13 Dec 20:47
· 561 commits to master since this release
430b2aa

Features

  • Supports new flake8 version 4.x
  • Now InconsistentYieldViolation and InconsistentReturnViolation are raised
    when yield or return is used with None
    where plain version should be used #2151
  • Dot '.' and comma ',' do not count against string literal overuse limit anymore #2209
  • Added RedundantEnumerateViolation #1825
  • Adds RaiseFromItselfViolation #2133
  • Adds ConsecutiveSlicesViolation #2064
  • Adds KwargsUnpackingInClassDefinitionViolation #1754
  • DirectMagicAttributeAccessViolation now only flags instances for which
    a known alternative exists #2268
  • Forbids getting collection element of list by unpacking #1824
  • Now WPS227 forbids returning tuples that are too long #1731

Bugfixes

  • Fixes that InconsistentComprehensionViolation was ignoring
    misaligned in expressions #2075
  • Fixes some common magic methods not being recognized as such #2281

Misc

  • Removes all Raises: from docstrings, they were unused
  • Improve Docs: Fixed all typos and grammatical errors in CHANGELOG.md
  • Updated documentation with the recommended isort config. #1934
  • Updates typing_extensions to 4.x