Release Notes
Preview features
- Fix
E221
and E222
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
] Restrict iteration-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 with EM101
when raising NotImplementedError
(#13714)
Other changes
- Introduce more Docker tags for Ruff (similar to uv) (#13274)
Contributors
Install ruff 0.7.1
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/astral-sh/ruff/releases/download/0.7.1/ruff-installer.sh | sh
Install prebuilt binaries via powershell script
powershell -ExecutionPolicy ByPass -c "irm https://github.com/astral-sh/ruff/releases/download/0.7.1/ruff-installer.ps1 | iex"
Download ruff 0.7.1