Bump ruff from 0.0.280 to 0.0.282
Bumps ruff from 0.0.280 to 0.0.282.
Release notes
Sourced from ruff's releases.
v0.0.282
What's Changed
Bug Fixes
- Reset model state when exiting deferred visitors by
@charliermarsh
in astral-sh/ruff#6208- Skip trivia when searching for named exception by
@charliermarsh
in astral-sh/ruff#6218- Avoid PERF401 false positive on list access in loop by
@charliermarsh
in astral-sh/ruff#6220- Avoid detecting continuations at non-start-of-line by
@charliermarsh
in astral-sh/ruff#6219- Revert "Expand scope of
quoted-annotation
rule (#5766)" by@charliermarsh
in astral-sh/ruff#6237New Contributors
@klistwan
made their first contribution in astral-sh/ruff#6146Full Changelog: https://github.com/astral-sh/ruff/compare/v0.0.281...v0.0.282
v0.0.281
What's Changed
See the release blog post for more, including detailed descriptions of any newly added rules.
New rules
- [
flake8-pyi
] ImplementPYI018
by@LaBatata101
in astral-sh/ruff#6018- [
flake8-pyi
] ImplementPYI047
by@LaBatata101
in astral-sh/ruff#6134- [
flake8-pyi
] ImplementPYI049
by@LaBatata101
in astral-sh/ruff#6136- [
flake8-pyi
] ImplementPYI056
by@LaBatata101
in astral-sh/ruff#5959- [
flake8-pyi
] ImplementPYI046
by@LaBatata101
in astral-sh/ruff#6098- [
flake8-use-pathlib
] Implementglob
(PTH207
) by@sbrugman
in astral-sh/ruff#5939- [
flake8-use-pathlib
] Implementos-sep-split
(PTH206
) by@sbrugman
in astral-sh/ruff#5936- [
pycodestyle
] ImplementE241
andE242
(tab/multiple ws after commas) by@akx
in astral-sh/ruff#6094- [
pylint
] Implementself-assigning-variable
(W0127
) by@tjkuson
in astral-sh/ruff#6015- [
pylint
] Implementeq-without-hash
rule (PLW1641) by@jelly
in astral-sh/ruff#5955- [
pylint
] Implementsubprocess-popen-preexec-fn
(W1509
) by@tjkuson
in astral-sh/ruff#5978Rule changes
- [
flake8-bugbear
] ExtendsB002
to detect unary prefix decrement operators by@tjkuson
in astral-sh/ruff#5998- [
flake8-pytest-style
] Avoid raising PT012 for simplewith
statements by@harupy
in astral-sh/ruff#6081- [
flake8-pytest-style
] Allow pytest.raises body to contain a single func or class definition by@harupy
in astral-sh/ruff#6083- [
flake8-simplify
] Extend SIM118 withnot in
by@sbrugman
in astral-sh/ruff#5995- [
perflint
] SkipPERF203
violations for multi-statement loops by@charliermarsh
in astral-sh/ruff#6145- [
pyupgrade
] Add support forint
,float
,bool
inUP018
by@dhruvmanila
in astral-sh/ruff#6013- [
tryceratops
] Add suggested fix forTRY201
by@dhruvmanila
in astral-sh/ruff#6008Settings
- Allow specification of
logging.Logger
re-exports vialogger-objects
by@charliermarsh
in astral-sh/ruff#5750- Set default
max-complexity
to 10 for empty McCabe settings by@charliermarsh
in astral-sh/ruff#6073- [
pep8-naming
]: New config optionextend-ignore-names
by@dhruvmanila
in astral-sh/ruff#6169
... (truncated)
Commits
-
743118a
Bump version to 0.0.282 (#6241) -
0753017
Revert "Expand scope ofquoted-annotation
rule (#5766)" (#6237) -
29fb655
Fixlogger-objects
documentation (#6238) -
f45e864
Remove unused parser modes -
7c7231d
Remove unsupportedtype_comment
field -
4ad5903
Delete type-ignore node -
c6986ac
ConsistentCommentPlacement
conversion signatures (#6231) -
ecfdd8d
Add static assertions to nodes (#6228) -
07468f8
format ExprJoinedStr (#5932) -
ba990b6
addDebugText
for self-documenting f-strings (#6167) - Additional commits viewable in compare view