Release Notes
Released on 2025-12-18.
Preview features
- [formatter] Fluent formatting of method chains (#21369)
- [formatter] Keep lambda parameters on one line and parenthesize the body if it expands (#21385)
- [
flake8-implicit-str-concat] New rule to prevent implicit string concatenation in collections (ISC004) (#21972) - [
flake8-use-pathlib] Make fixes unsafe when types change in compound statements (PTH104,PTH105,PTH109,PTH115) (#22009) - [
refurb] Extend support forPath.open(FURB101,FURB103) (#21080)
Bug fixes
- [
pyupgrade] Fix parsing named Unicode escape sequences (UP032) (#21901)
Rule changes
- [
eradicate] Ignoreruff:disableandruff:enablecomments inERA001(#22038) - [
flake8-pytest-style] Allowmatchandcheckkeyword arguments without an expected exception type (PT010) (#21964) - [syntax-errors] Annotated name cannot be global (#20868)
Documentation
- Add
uvandtyto the Ruff README (#21996) - Document known lambda formatting deviations from Black (#21954)
- Update
setup.md(#22024) - [
flake8-bandit] Fix broken link (S704) (#22039)
Other changes
- Fix playground Share button showing "Copied!" before clipboard copy completes (#21942)
Contributors
- @dylwil3
- @charliecloudberry
- @charliermarsh
- @chirizxc
- @ntBre
- @zanieb
- @amyreese
- @hauntsaninja
- @11happy
- @mahiro72
- @MichaReiser
- @phongddo
- @PeterJCLaw
Install ruff 0.14.10
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/astral-sh/ruff/releases/download/0.14.10/ruff-installer.sh | shInstall prebuilt binaries via powershell script
powershell -ExecutionPolicy Bypass -c "irm https://github.com/astral-sh/ruff/releases/download/0.14.10/ruff-installer.ps1 | iex"