Release Notes
Preview features
- Start detecting version-related syntax errors in the parser (#16090)
Rule changes
- [
pylint
] Mark fix unsafe (PLW1507
) (#16343) - [
pylint
] Catchcase np.nan
/case math.nan
inmatch
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
iseditorOnly
(#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
] MarkPYI030
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
- @AlexWaygood
- @BurntSushi
- @CNSeniorious000
- @InSyncWithFoo
- @MichaReiser
- @VascoSch92
- @Viicos
- @aripollak
- @carljm
- @dcarrier
- @dcreager
- @dhruvmanila
- @mishamsk
- @ntBre
- @renovate
- @sharkdp
- @zanieb
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"