Bump ruff from 0.7.0 to 0.7.1
Bumps ruff from 0.7.0 to 0.7.1.
Release notes
Sourced from ruff's releases.
0.7.1
Release Notes
Preview features
- Fix
E221
andE222
to flag missing or extra whitespace around==
operator (#13890)- Formatter: Alternate quotes for strings inside f-strings in preview (#13860)
- Formatter: Join implicit concatenated strings when they fit on a line (#13663)
- [
pylint
] Restrictiteration-over-set
to only work on sets of literals (PLC0208
) (#13731)Rule changes
- [
flake8-type-checking
] Support auto-quoting when annotations contain quotes (#11811)Server
- Avoid indexing the workspace for single-file mode (#13770)
Bug fixes
- Make
ARG002
compatible withEM101
when raisingNotImplementedError
(#13714)Other changes
- Introduce more Docker tags for Ruff (similar to uv) (#13274)
Contributors
@Aditya-PS-05
@AlexWaygood
@Glyphack
@Lexxxzy
@MichaReiser
@TomerBin
@Watercycle
@cake-monotone
@carljm
@dhruvmanila
@diceroll123
@mihaic
@ndmitchell
@pilleye
@renovate
@rtpg
@samypr100
@sharkdp
Install ruff 0.7.1
Install prebuilt binaries via shell script
... (truncated)
Changelog
Sourced from ruff's changelog.
0.7.1
Preview features
- Fix
E221
andE222
to flag missing or extra whitespace around==
operator (#13890)- Formatter: Alternate quotes for strings inside f-strings in preview (#13860)
- Formatter: Join implicit concatenated strings when they fit on a line (#13663)
- [
pylint
] Restrictiteration-over-set
to only work on sets of literals (PLC0208
) (#13731)Rule changes
- [
flake8-type-checking
] Support auto-quoting when annotations contain quotes (#11811)Server
- Avoid indexing the workspace for single-file mode (#13770)
Bug fixes
- Make
ARG002
compatible withEM101
when raisingNotImplementedError
(#13714)Other changes
- Introduce more Docker tags for Ruff (similar to uv) (#13274)
Commits
-
337af83
Bump version to 0.7.1 (#13913) -
113ce84
Fixnormalize
arguments whenfstring_formatting
is disabled (#13910) -
7272f83
Fix preview style name incan_omit_parentheses
to is_f_string_formatting_en... -
3eb4546
[red-knot] Format mdtest Python snippets more concisely (#13905) -
77ae0cc
[red-knot] Infer subscript expression types for bytes literals (#13901) -
73ee72b
Join implicit concatenated strings when they fit on a line (#13663) -
e402e27
Use referencial equality intraversal
helper methods (#13895) -
de4181d
Remove "default" remark fromruff check
(#13900) -
2c57c2d
[red-knot] Type narrowing forisinstance
checks (#13894) -
72c18c8
Fix E221 and E222 to flag missing or extra whitespace around==
operator (#... - Additional commits viewable in compare view