Bump ruff from 0.0.284 to 0.0.287
Bumps ruff from 0.0.284 to 0.0.287.
Release notes
Sourced from ruff's releases.
v0.0.287
What's Changed
Rules
- [refurb] Implement previuew
repeated-append
rule (FURB113
) by@SavchenkoValeriy
in astral-sh/ruff#6702- [refurb] Implement previuew
delete-full-slice
rule (FURB131
) by@SavchenkoValeriy
in astral-sh/ruff#6897- [refurb] Implement preview
check-and-remove-from-set
rule (FURB132
) by@SavchenkoValeriy
in astral-sh/ruff#6904Bug Fixes
- Expand
PERF401
andPERF402
with type checks by@qdegraaf
in astral-sh/ruff#6994- Insert space to avoid syntax error in RSE fixes by
@charliermarsh
in astral-sh/ruff#6886- Avoid PEP 604 upgrades that lead to invalid syntax by
@charliermarsh
in astral-sh/ruff#6888- Fix ranges for global usages by
@charliermarsh
in astral-sh/ruff#6917- Avoid invalid fix for C417 with separate keys and values by
@charliermarsh
in astral-sh/ruff#6954- Avoid panic when
typename
is provided as a keyword argument by@charliermarsh
in astral-sh/ruff#6955- Improve compatibility between multi-statement PYI rules by
@charliermarsh
in astral-sh/ruff#7024- Fixed panic in
missing_copyright_notice
by@WindowGenerator
in astral-sh/ruff#7029- Avoid lexer infinite loop on invalid input by
@dhruvmanila
in astral-sh/ruff#6937- Fix
WithItem
ranges for parenthesized, non-as
items by@charliermarsh
in astral-sh/ruff#6782New Contributors
@SavchenkoValeriy
made their first contribution in astral-sh/ruff#6702@Anselmoo
made their first contribution in astral-sh/ruff#6986@njgrisafi
made their first contribution in astral-sh/ruff#7032@WindowGenerator
made their first contribution in astral-sh/ruff#7029Full Changelog: https://github.com/astral-sh/ruff/compare/v0.0.286...v0.0.287
v0.0.286
What's Changed
New Rules
- [
flake8-bugbear
] Updatefunction-call-in-argument-default
(B008
) to ignore arguments with immutable annotations by@zanieb
in astral-sh/ruff#6784- [
flake8-bugbear
] Updatemutable-argument-default
(B006
) to useextend-immutable-calls
when determining if annotations are immutable by@zanieb
in astral-sh/ruff#6781- [
flake8-pie
] Implementunnecessary-range-start
(PIE808
) by@harupy
in astral-sh/ruff#6690- [
flake8-pytest-style
] Add autofix forPT014
by@harupy
in astral-sh/ruff#6698- [
pylint
] Implementno-self-use
(R6301
) by@LaBatata101
in astral-sh/ruff#6574- [
pylint
] Extendrepeated-equality-comparison-target
to check for mixed orderings and Yoda conditions. by@tjkuson
in astral-sh/ruff#6691Settings
- Make isort's
detect-same-package
behavior configurable by@charliermarsh
in astral-sh/ruff#6833Bug Fixes
- Apply RUF017 when start is passed via position by
@hauntsaninja
in astral-sh/ruff#6664- Use
typing_extensions.TypeAlias
for PYI026 fixes on pre-3.10 by@charliermarsh
in astral-sh/ruff#6696
... (truncated)
Commits
-
2f3a950
Bump version to 0.0.287 (#7038) -
dea6553
Fix placement for comments within f-strings concatenations (#7047) -
fbc9b5a
Bump cloudflare/wrangler-action from 3.1.0 to 3.1.1 (#7045) -
253a241
Add dependabot forcargo
dependencies (#7034) -
33806b8
Fixed panic inmissing_copyright_notice
(#7029) -
afcd00d
Createruff_notebook
crate (#7039) -
08e2467
Refactor ruff_cli's run method to return on each branch (#7040) -
0489bbc
Match Black's formatting of trailing comments containing NBSP (#7030) -
60132da
Add aNotebookError
type to avoid returningDiagnostics
on error (#7035) -
17a44c0
Exclude pragma comments from measured line width (#7008) - Additional commits viewable in compare view