v0.0.270
What's Changed
Rules
- [
flake8-bandit
] Implementparamiko-call
(S601
) by @scop in #4500 - [
flake8-pyi
] Add autofix for PYI009 by @qdegraaf in #4583 - [
flake8-pyi
] ImplementPYI013
by @density in #4517 - [
pylint
] Addduplicate-value
(W0130
) by @hoel-bagard in #4515 - [
pylint
] Addnamed_expr_without_context
(W0131
) by @hoel-bagard in #4531 - [
ruff
] ExtendRUF005
to recursive and literal-literal concatenations by @hoel-bagard in #4557 - [
ruff
] Make ambiguous-unicode detection sensitive to 'word' context by @charliermarsh in #4552 - [
ruff
] Name ambiguous characters by @covracer in #4448
Settings
- Implement
--extend-fixable
option by @charliermarsh in #4297 - Support new
extend-per-file-ignores
setting by @aacunningham in #4265
Bug Fixes
- Fix RUF010 auto-fix with parenthesis by @JonathanPlasse in #4524
- Parenthesize more sub-expressions in f-string conversion by @charliermarsh in #4535
- Fix false-positive for TRY302 if exception cause is given by @153957 in #4559
- Fix
# isort: split
comment detection in nested blocks by @charliermarsh in #4584 - Avoid some false positives in dunder variable assigments by @scop in #4508
- Fix UP032 auto-fix with integers by @JonathanPlasse in #4525
- Improve reference resolution for deferred-annotations-within-classes by @charliermarsh in #4509
- Improve handling of
__qualname__
,__module__
, and__class__
by @charliermarsh in #4512 - Include empty success test in JUnit output by @charliermarsh in #4537
- Fix SIM110 and SIM111 ranges by @JonathanPlasse in #4545
- Ignore
#region
code folding marks in eradicate rules by @charliermarsh in #4546 - Avoid infinite loop for required imports with isort: off by @charliermarsh in #4581
- Make B007 fix relevance stricter by @charliermarsh in #4607
- Introduce
tab-size
to correcly calculate the line length with tabulations by @JonathanPlasse in #4167 - Visit
TypeVar
andNewType
name arguments by @charliermarsh in #4627 - Improve
Message
sorting performance by @MichaReiser in #4624
New Contributors
- @hoel-bagard made their first contribution in #4516
- @density made their first contribution in #4517
- @Mr-Pepe made their first contribution in #4540
- @153957 made their first contribution in #4559
- @covracer made their first contribution in #4448
Full Changelog: v0.0.269...v0.0.270