What's Changed
Rules
- [
pylint
]: bidirectional-unicode by @colin99d in #2589 - Implement whitespace-around-keywords (E271, E272, E273, E274) by @charliermarsh in #2653
- Implement whitespace-before-comment (E261, E262, E265, E266) by @charliermarsh in #2654
Settings
- flake8-annotations: add ignore-fully-untyped by @akx in #2128
- Add
--exit-non-zero-on-fix
by @charliermarsh in #2668
Documentation
- Derive
explanation
method on Rule struct via rustdoc by @charliermarsh in #2642 - Create per-rule pages and link from README by @charliermarsh in #2644
- Add documentation for flake8-quotes rules by @charliermarsh in #2650
- Disable autofix for flake8-print rules by @charliermarsh in #2651
- Add documentation for eradicate, flake8-import-conventions, and flake8-no-pep420 by @charliermarsh in #2652
- doc: add documentation for TRY002 by @nm-remarkable in #2655
Bug Fixes
- Accommodate pos-only arguments when checking self name by @charliermarsh in #2626
- Avoid non-recursion in nested typing function calls by @charliermarsh in #2627
- Avoid no-unnecessary-dict-kwargs errors with reserved keywords by @charliermarsh in #2628
- Treat @staticmethod as higher-precedence than ABC by @charliermarsh in #2635
- Avoid boolean-trap errors in
__setitem__
by @charliermarsh in #2636 - Skip ternary fixes for yields and awaits by @charliermarsh in #2637
- Ignore all non-
.py
wrt. implicit namespace package by @scop in #2640 - Avoid false-positive in chained type calls by @charliermarsh in #2663
- Treat annotated assignments in class and module scopes as runtime by @charliermarsh in #2667
- Accommodate multiple
@pytest.mark.parametrize
decorators by @charliermarsh in #2662 - Use separate exit codes for fatal errors vs. lint errors by @charliermarsh in #2670
New Contributors
- @nm-remarkable made their first contribution in #2655
Full Changelog: v0.0.243...v0.0.244