Release Notes
Preview features
- [
airflow
] Add unsafe fix for module moved cases (AIR301
,AIR311
,AIR312
,AIR302
) (#[18367](https://github.com/astral-sh/ruff/pull/18367),[#18366](https://github.com/astral-sh/ruff/pull/18366),[#18363](https://github.com/astral-sh/ruff/pull/18363),[#18093](https://github.com/18367,#18366,#18363,/issues/18093)) - [
refurb
] Add coverage ofset
andfrozenset
calls (FURB171
) (#18035) - [
refurb
] MarkFURB180
fix unsafe when class has bases (#18149)
Bug fixes
- [
perflint
] Fix missing parentheses for lambda and ternary conditions (PERF401
,PERF403
) (#18412) - [
pyupgrade
] ApplyUP035
only on py313+ forget_type_hints()
(#18476) - [
pyupgrade
] Make fix unsafe if it deletes comments (UP004
,UP050
) (#18393, #18390)
Rule changes
- [
fastapi
] Avoid false positive for class dependencies (FAST003
) (#18271)
Documentation
- Update editor setup docs for Neovim and Vim (#18324)
Other changes
- Support Python 3.14 template strings (t-strings) in formatter and parser (#17851)
Contributors
- @AlexWaygood
- @BurntSushi
- @InSyncWithFoo
- @Lee-W
- @MatthewMckee4
- @MichaReiser
- @Viicos
- @abhijeetbodas2001
- @carljm
- @chirizxc
- @dcreager
- @dhruvmanila
- @dylwil3
- @github-actions
- @ibraheemdev
- @lipefree
- @mtshiba
- @naslundx
- @ntBre
- @otakutyrant
- @renovate
- @robsdedude
- @sharkdp
- @twentyone212121
- @zanieb
Install ruff 0.11.13
Install prebuilt binaries via shell script
:::sh
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/astral-sh/ruff/releases/download/0.11.13/ruff-installer.sh | sh
Install prebuilt binaries via powershell script
:::sh
powershell -ExecutionPolicy Bypass -c "irm https://github.com/astral-sh/ruff/releases/download/0.11.13/ruff-installer.ps1 | iex"