Bump ruff from 0.5.0 to 0.5.5
Bumps ruff from 0.5.0 to 0.5.5.
Release notes
Sourced from ruff's releases.
0.5.5
Release Notes
Preview features
- [
fastapi
] Implementfastapi-redundant-response-model
(FAST001
) andfastapi-non-annotated-dependency
(FAST002
) (#11579)- [
pydoclint
] Implementdocstring-missing-exception
(DOC501
) anddocstring-extraneous-exception
(DOC502
) (#11471)Rule changes
- [
numpy
] Fix NumPy 2.0 rule fornp.alltrue
andnp.sometrue
(#12473)- [
numpy
] IgnoreNPY201
insideexcept
blocks for compatibility with older numpy versions (#12490)- [
pep8-naming
] Avoid applyingignore-names
toself
andcls
function names (N804
,N805
) (#12497)Formatter
- Fix incorrect placement of leading function comment with type params (#12447)
Server
- Do not bail code action resolution when a quick fix is requested (#12462)
Bug fixes
- Fix
Ord
implementation ofcmp_fix
(#12471)- Raise syntax error for unparenthesized generator expression in multi-argument call (#12445)
- [
pydoclint
] Fix panic inDOC501
reported in #12428 (#12435)- [
flake8-bugbear
] Allow singleton tuples with starred expressions inB013
(#12484)Documentation
- Add Eglot setup guide for Emacs editor (#12426)
- Add note about the breaking change in
nvim-lspconfig
(#12507)- Add note to include notebook files for native server (#12449)
- Add setup docs for Zed editor (#12501)
Contributors
... (truncated)
Changelog
Sourced from ruff's changelog.
0.5.5
Preview features
- [
fastapi
] Implementfastapi-redundant-response-model
(FAST001
) andfastapi-non-annotated-dependency
(FAST002
) (#11579)- [
pydoclint
] Implementdocstring-missing-exception
(DOC501
) anddocstring-extraneous-exception
(DOC502
) (#11471)Rule changes
- [
numpy
] Fix NumPy 2.0 rule fornp.alltrue
andnp.sometrue
(#12473)- [
numpy
] IgnoreNPY201
insideexcept
blocks for compatibility with older numpy versions (#12490)- [
pep8-naming
] Avoid applyingignore-names
toself
andcls
function names (N804
,N805
) (#12497)Formatter
- Fix incorrect placement of leading function comment with type params (#12447)
Server
- Do not bail code action resolution when a quick fix is requested (#12462)
Bug fixes
- Fix
Ord
implementation ofcmp_fix
(#12471)- Raise syntax error for unparenthesized generator expression in multi-argument call (#12445)
- [
pydoclint
] Fix panic inDOC501
reported in #12428 (#12435)- [
flake8-bugbear
] Allow singleton tuples with starred expressions inB013
(#12484)Documentation
- Add Eglot setup guide for Emacs editor (#12426)
- Add note about the breaking change in
nvim-lspconfig
(#12507)- Add note to include notebook files for native server (#12449)
- Add setup docs for Zed editor (#12501)
0.5.4
Rule changes
- [
ruff
] RenameRUF007
tozip-instead-of-pairwise
(#12399)Bug fixes
- [
flake8-builtins
] Avoid shadowing diagnostics for@override
methods (#12415)- [
flake8-comprehensions
] Insert parentheses for multi-argument generators (#12422)- [
pydocstyle
] Handle escaped docstrings within docstring (D301
) (#12192)Documentation
- Fix GitHub link to Neovim setup (#12410)
... (truncated)
Commits
-
fc16d8d
Bump version to 0.5.5 (#12510) -
175e5d7
Add missing traceback line inf-string-in-exception
docstring. (#12508) -
c03f257
Add note about the breaking change innvim-lspconfig
(#12507) -
6bbb4a2
Add setup docs for Zed editor (#12501) -
2ce3e3a
Fix the search path tests on MacOS (#12503) -
2a64ccc
Avoid applyingignore-names
toself
andcls
function names (#12497) -
928ffd6
IgnoreNPY201
insideexcept
blocks for compatibility with older numpy ver... -
e52be09
[red-knot] Improve validation for search paths (#12376) -
8890735
[flake8-bugbear] Allow singleton tuples with starred expressions in B013 (#12... -
eac965e
[red-knot] Watch search paths (#12407) - Additional commits viewable in compare view