Bump ruff from 0.3.1 to 0.3.2
Bumps ruff from 0.3.1 to 0.3.2.
Release notes
Sourced from ruff's releases.
v0.3.2
Changes
Preview features
- Improve single-
with
item formatting for Python 3.8 or older (#10276)Rule changes
- [
pyupgrade
] Allow fixes for f-string rule regardless of line length (UP032
) (#10263)- [
pycodestyle
] Include actual conditions in E712 diagnostics (#10254)Bug fixes
- Fix trailing kwargs end of line comment after slash (#10297)
- Fix unstable
with
items formatting (#10274)- Avoid repeating function calls in f-string conversions (#10265)
- Fix E203 false positive for slices in format strings (#10280)
- Fix incorrect
Parameter
range for*args
and**kwargs
(#10283)- Treat
typing.Annotated
subscripts as type definitions (#10285)Contributors
Changelog
Sourced from ruff's changelog.
0.3.2
Preview features
- Improve single-
with
item formatting for Python 3.8 or older (#10276)Rule changes
- [
pyupgrade
] Allow fixes for f-string rule regardless of line length (UP032
) (#10263)- [
pycodestyle
] Include actual conditions in E712 diagnostics (#10254)Bug fixes
- Fix trailing kwargs end of line comment after slash (#10297)
- Fix unstable
with
items formatting (#10274)- Avoid repeating function calls in f-string conversions (#10265)
- Fix E203 false positive for slices in format strings (#10280)
- Fix incorrect
Parameter
range for*args
and**kwargs
(#10283)- Treat
typing.Annotated
subscripts as type definitions (#10285)
Commits
-
a892fc7
Bump version to v0.3.2 (#10304) -
a067d87
Fix incorrectParameter
range for*args
and**kwargs
(#10283) -
b64f2ea
Formatter: Improve single-with item formatting for Python 3.8 or older (#10276) -
4bce801
Fix unstable with-items formatting (#10274) -
a56d42f
Refactor with statement formatting to have explicit layouts (#10296) -
1d97f27
Start tracking quoting style in the AST (#10298) -
965adbe
Fix trailing kwargs end of line comment after slash (#10297) -
c504d7a
Track quoting style in the tokenizer (#10256) -
72c9f7e
Include actual conditions in E712 diagnostics (#10254) -
57be3fc
Treattyping.Annotated
subscripts as type definitions (#10285) - Additional commits viewable in compare view