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
- Added example to `README.md`
- Added `why strict is good`
- Replaced all `python` with `Python` in `README.md`
- 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`