What's Changed
Rules
- [
flake8-bugbear
] Add more immutable functions forB008
by @rouge8 in #3764 - [
flake8-bugbear
] Allowpathlib.Path()
inB008
by @rouge8 in #3794 - [
flake8-bugbear
] Expand the scope of useless-expression (B018) by @charliermarsh in #3455 - [
flake8-bugbear
]: Implement ruleB031
by @dhruvmanila in #3680 - [
flake8-gettext
] Implementflake8-gettext
by @leiserfg in #3785 - [
flake8-logging-format
] Add support for.log(level, msg)
calls inflake8-logging-format
by @dhruvmanila in #3726 - [
flake8-logging-format
] Allow aliasedlogging
module as a logger candidate by @dhruvmanila in #3718 - [
flake8-pyi
] Add autofix forPYI014
by @JonathanPlasse in #3729 - [
flake8-pyi
] ImplementPYI012
by @JBLDKY in #3743 - [
flake8-pyi
] ImplementPYI015
by @JonathanPlasse in #3728 - [
flake8-simplify
] Fix SIM222 and SIM223 false negative by @JonathanPlasse in #3740 - [
isort
]: support submodules in known_(first|third)_party config options by @astaric in #3768 - [
pycodestyle
] Use unicode-width to determine line-length instead of character count by @MichaReiser in #3714 - [
pydocstyle
] Implement autofix forD403
by @JonathanPlasse in #3731 - [
pylint
] Avoiduseless-import alias
(C0414
) in.pyi
files by @charliermarsh in #3761 - [
pylint
] ExemptPLR1711
andRET501
if non-None
annotation by @JonathanPlasse in #3705 - [
tryceratops
] Exempt return with side effects for TRY300 by @JonathanPlasse in #3780
Bug Fixes
- Avoid parsing
ForwardRef
contents as type references by @charliermarsh in #3698 - Avoid parsing f-strings in type annotations by @charliermarsh in #3699
- Include
with
statements in complexity calculation by @charliermarsh in #3771 - Use import alias locations for
pep8-naming
import rules by @charliermarsh in #3772 - Allow
TID252
to fix all valid module paths by @JonathanPlasse in #3796 - Fix SIM118 auto-fix by @JonathanPlasse in #3695
- Avoid panics for implicitly concatenated forward references by @charliermarsh in #3700
- Allow simple container literals as default values by @JonathanPlasse in #3703
- Traverse over nested string type annotations by @charliermarsh in #3724
- Use
wild::args()
and addwild
as a dependency by @agriyakhetarpal in #3739 - Avoid overlong-line errors for lines that end with URLs by @charliermarsh in #3663
- Sort statistics by count by @JonathanPlasse in #3748
- Reduce explicit clones by @MichaReiser in #3793
- Add flymake-ruff to docs by @charliermarsh in #3800
New Contributors
- @agriyakhetarpal made their first contribution in #3739
- @leiserfg made their first contribution in #3741
- @JBLDKY made their first contribution in #3743
- @astaric made their first contribution in #3768
Full Changelog: v0.0.259...v0.0.260