Release Notes
Preview features
- Start detecting version-related syntax errors in the parser (#16090)
Rule changes
- [
pylint
] Mark fix unsafe (PLW1507
) (#16343)
- [
pylint
] Catch case np.nan
/case math.nan
in match
statements (PLW0177
) (#16378)
- [
ruff
] Add more Pydantic models variants to the list of default copy semantics (RUF012
) (#16291)
Server
- Avoid indexing the project if
configurationPreference
is editorOnly
(#16381)
- Avoid unnecessary info at non-trace server log level (#16389)
- Expand
ruff.configuration
to allow inline config (#16296)
- Notify users for invalid client settings (#16361)
Configuration
- Add
per-file-target-version
option (#16257)
Bug fixes
- [
refurb
] Do not consider docstring(s) (FURB156
) (#16391)
- [
flake8-self
] Ignore attribute accesses on instance-like variables (SLF001
) (#16149)
- [
pylint
] Fix false positives, add missing methods, and support positional-only parameters (PLE0302
) (#16263)
- [
flake8-pyi
] Mark PYI030
fix unsafe when comments are deleted (#16322)
Documentation
- Fix example for
S611
(#16316)
- Normalize inconsistent markdown headings in docstrings (#16364)
- Document MSRV policy (#16384)
Contributors
Install ruff 0.9.8
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/astral-sh/ruff/releases/download/0.9.8/ruff-installer.sh | sh
Install prebuilt binaries via powershell script
powershell -ExecutionPolicy ByPass -c "irm https://github.com/astral-sh/ruff/releases/download/0.9.8/ruff-installer.ps1 | iex"
Download ruff 0.9.8