Bump ruff from 0.5.0 to 0.5.3
Bumps ruff from 0.5.0 to 0.5.3.
Release notes
Sourced from ruff's releases.
0.5.3
Release Notes
Ruff 0.5.3 marks the stable release of the Ruff language server and introduces revamped documentation, including setup guides for your editor of choice and the language server itself.
Preview features
- Formatter: Insert empty line between suite and alternative branch after function/class definition (#12294)
- [
pyupgrade
] Implementunnecessary-default-type-args
(UP043
) (#12371)Rule changes
- [
flake8-bugbear
] Detect enumerate iterations inloop-iterator-mutation
(B909
) (#12366)- [
flake8-bugbear
] Removediscard
,remove
, andpop
allowance forloop-iterator-mutation
(B909
) (#12365)- [
pylint
] Allowrepeated-equality-comparison
for mixed operations (PLR1714
) (#12369)- [
pylint
] Ignoreself
andcls
when counting arguments (PLR0913
) (#12367)- [
pylint
] Use UTF-8 as default encoding inunspecified-encoding
fix (PLW1514
) (#12370)Server
- Build settings index in parallel for the native server (#12299)
- Use fallback settings when indexing the project (#12362)
- Consider
--preview
flag forserver
subcommand for the linter and formatter (#12208)Bug fixes
- [
flake8-comprehensions
] Allow additional arguments forsum
andmax
comprehensions (C419
) (#12364)- [
pylint
] Avoid dropping extra boolean operations inrepeated-equality-comparison
(PLR1714
) (#12368)- [
pylint
] Consider expression before statement when determining binding kind (PLR1704
) (#12346)Documentation
- Add docs for Ruff language server (#12344)
- Migrate to standalone docs repo (#12341)
- Update versioning policy for editor integration (#12375)
Other changes
- Publish Wasm API to npm (#12317)
Contributors
... (truncated)
Changelog
Sourced from ruff's changelog.
0.5.3
Ruff 0.5.3 marks the stable release of the Ruff language server and introduces revamped documentation, including setup guides for your editor of choice and the language server itself.
Preview features
- Formatter: Insert empty line between suite and alternative branch after function/class definition (#12294)
- [
pyupgrade
] Implementunnecessary-default-type-args
(UP043
) (#12371)Rule changes
- [
flake8-bugbear
] Detect enumerate iterations inloop-iterator-mutation
(B909
) (#12366)- [
flake8-bugbear
] Removediscard
,remove
, andpop
allowance forloop-iterator-mutation
(B909
) (#12365)- [
pylint
] Allowrepeated-equality-comparison
for mixed operations (PLR1714
) (#12369)- [
pylint
] Ignoreself
andcls
when counting arguments (PLR0913
) (#12367)- [
pylint
] Use UTF-8 as default encoding inunspecified-encoding
fix (PLW1514
) (#12370)Server
- Build settings index in parallel for the native server (#12299)
- Use fallback settings when indexing the project (#12362)
- Consider
--preview
flag forserver
subcommand for the linter and formatter (#12208)Bug fixes
- [
flake8-comprehensions
] Allow additional arguments forsum
andmax
comprehensions (C419
) (#12364)- [
pylint
] Avoid dropping extra boolean operations inrepeated-equality-comparison
(PLR1714
) (#12368)- [
pylint
] Consider expression before statement when determining binding kind (PLR1704
) (#12346)Documentation
- Add docs for Ruff language server (#12344)
- Migrate to standalone docs repo (#12341)
- Update versioning policy for editor integration (#12375)
Other changes
- Publish Wasm API to npm (#12317)
0.5.2
Preview features
- Use
space
separator before parenthesized expressions in comprehensions with leading comments (#12282)- [
flake8-async
] UpdateASYNC100
to includeanyio
andasyncio
(#12221)- [
flake8-async
] UpdateASYNC109
to includeanyio
andasyncio
(#12236)- [
flake8-async
] UpdateASYNC110
to includeanyio
andasyncio
(#12261)
... (truncated)
Commits
-
f0d589d
Provide custom job permissions tocargo-dist
(#12386) -
512c8b2
Provide contents read permission to wasm publish job (#12384) -
811f78d
[red-knot] small efficiency improvements and bugfixes to use-def map building... -
8f1be31
Update 0.5.3 changelog caption (#12383) -
8cfbac7
Bump version to 0.5.3 (#12381) -
9460857
Migrate to standalone docs repo (#12341) -
a028ca2
Add VS Code specific extension settings (#12380) -
7953f6a
Update versioning policy for editor integration (#12375) -
764d9ab
Allowrepeated-equality-comparison
for mixed operations (#12369) -
9b9d701
Allow additional arguments for sum and max comprehensions (#12364) - Additional commits viewable in compare view