Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Created by
brew bump
Created with
brew bump-formula-pr
.release notes
flake8-pyi
] ImplementPYI018
by @LaBatata101 in [flake8-pyi
] Implement PYI018 astral-sh/ruff#6018flake8-pyi
] ImplementPYI047
by @LaBatata101 in Implement PYI047 astral-sh/ruff#6134flake8-pyi
] ImplementPYI049
by @LaBatata101 in [flake8-pyi
] Implement PYI049 astral-sh/ruff#6136flake8-pyi
] ImplementPYI056
by @LaBatata101 in [flake8-pyi
] Implement PYI056 astral-sh/ruff#5959flake8-pyi
] ImplementPYI046
by @LaBatata101 in [flake8-pyi
] ImplementPYI046
astral-sh/ruff#6098flake8-use-pathlib
] Implementglob
(PTH207
) by @sbrugman in [flake8-use-pathlib
] Implementglob
(PTH207
) astral-sh/ruff#5939flake8-use-pathlib
] Implementos-sep-split
(PTH206
) by @sbrugman in [flake8-use-pathlib
] Implementos-sep-split
(PTH206
) astral-sh/ruff#5936pycodestyle
] ImplementE241
andE242
(tab/multiple ws after commas) by @akx in Implement E241 and E242 (tab/multiple ws after commas) astral-sh/ruff#6094pylint
] Implementself-assigning-variable
(W0127
) by @tjkuson in [pylint
] Impementself-assigning-variable
(W0127
) astral-sh/ruff#6015pylint
] Implementeq-without-hash
rule (PLW1641) by @jelly in [pylint] Implementeq-without-hash
rule (PLW1641) astral-sh/ruff#5955pylint
] Implementsubprocess-popen-preexec-fn
(W1509
) by @tjkuson in [pylint
] Implementsubprocess-popen-preexec-fn
(W1509
) astral-sh/ruff#5978Rule changes
flake8-bugbear
] ExtendsB002
to detect unary prefix decrement operators by @tjkuson in ExtendsB002
to detect unary prefix decrement operators astral-sh/ruff#5998flake8-pytest-style
] Avoid raising PT012 for simplewith
statements by @harupy in Avoid raising PT012 for simplewith
statements astral-sh/ruff#6081flake8-pytest-style
] Allow pytest.raises body to contain a single func or class definition by @harupy in Allow pytest.raises body to contain a single func or class definition astral-sh/ruff#6083flake8-simplify
] Extend SIM118 withnot in
by @sbrugman in Extend SIM118 withnot in
astral-sh/ruff#5995perflint
] SkipPERF203
violations for multi-statement loops by @charliermarsh in SkipPERF203
violations for multi-statement loops astral-sh/ruff#6145pyupgrade
] Add support forint
,float
,bool
inUP018
by @dhruvmanila in Add support forint
,float
,bool
inUP018
astral-sh/ruff#6013tryceratops
] Add suggested fix forTRY201
by @dhruvmanila in Add suggested fix forTRY201
astral-sh/ruff#6008Settings
logging.Logger
re-exports vialogger-objects
by @charliermarsh in Allow specification oflogging.Logger
re-exports vialogger-objects
astral-sh/ruff#5750max-complexity
to 10 for empty McCabe settings by @charliermarsh in Set defaultmax-complexity
to 10 for empty McCabe settings astral-sh/ruff#6073pep8-naming
]: New config optionextend-ignore-names
by @dhruvmanila in [pep8-naming
]: New config optionextend-ignore-names
astral-sh/ruff#6169Bug Fixes
UP032
ifformat
call arguments contain multiline expressions by @harupy in Avoid raisingUP032
ifformat
call arguments contain multiline expressions astral-sh/ruff#5971F507
false positive by @harupy in FixF507
false positive astral-sh/ruff#5986Literal
members as expressions with__future__
by @charliermarsh in Avoid treatingLiteral
members as expressions with__future__
astral-sh/ruff#6032x[:1]
-like slices in RUF015 by @charliermarsh in Avoid refactoringx[:1]
-like slices in RUF015 astral-sh/ruff#6150self
accesses by @charliermarsh in Avoid key-in-dict violations forself
accesses astral-sh/ruff#6165[
as an invalid noqa suffix by @charliermarsh in Flag[
as an invalid noqa suffix astral-sh/ruff#5982explicit-string-concatenation
on single line by @tjkuson in Ignoreexplicit-string-concatenation
on single line astral-sh/ruff#6028SIM102
to handle indentedelif
by @harupy in FixSIM102
to handle indentedelif
astral-sh/ruff#6072PTH201
forPath("")
by @harupy in RaisePTH201
forPath("")
astral-sh/ruff#6095SIM115
to coverpathlib.Path.open
by @harupy in Add a README link to each plugin astral-sh/ruff#611--diff
for Jupyter Notebooks by @dhruvmanila in Implement--diff
for Jupyter Notebooks astral-sh/ruff#6149SIM105
for non-exceptions by @sbrugman in Do not raiseSIM105
for non-exceptions astral-sh/ruff#5985New Contributors
eq-without-hash
rule (PLW1641) astral-sh/ruff#5955Full Changelog: astral-sh/ruff@v0.0.280...v0.0.281