Release Notes
Preview features
- [
fastapi
] Implement fastapi-redundant-response-model
(FAST001
) and fastapi-non-annotated-dependency
(FAST002
) (#11579)
- [
pydoclint
] Implement docstring-missing-exception
(DOC501
) and docstring-extraneous-exception
(DOC502
) (#11471)
Rule changes
- [
numpy
] Fix NumPy 2.0 rule for np.alltrue
and np.sometrue
(#12473)
- [
numpy
] Ignore NPY201
inside except
blocks for compatibility with older numpy versions (#12490)
- [
pep8-naming
] Avoid applying ignore-names
to self
and cls
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 of cmp_fix
(#12471)
- Raise syntax error for unparenthesized generator expression in multi-argument call (#12445)
- [
pydoclint
] Fix panic in DOC501
reported in #12428 (#12435)
- [
flake8-bugbear
] Allow singleton tuples with starred expressions in B013
(#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
Install ruff 0.5.5
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/astral-sh/ruff/releases/download/0.5.5/ruff-installer.sh | sh
Install prebuilt binaries via powershell script
powershell -c "irm https://github.com/astral-sh/ruff/releases/download/0.5.5/ruff-installer.ps1 | iex"
Download ruff 0.5.5