Release Notes
Preview features
- [
flake8-simplify
] Implement fix formaxsplit
without separator (SIM905
) (#19851) - [
flake8-use-pathlib
] Add fixes forPTH102
andPTH103
(#19514)
Bug fixes
- [
isort
] Handle multiple continuation lines after module docstring (I002
) (#19818) - [
pyupgrade
] Avoid reporting__future__
features as unnecessary when they are used (UP010
) (#19769) - [
pyupgrade
] Handle nestedOptional
s (UP045
) (#19770)
Rule changes
- [
pycodestyle
] MakeE731
fix unsafe instead of display-only for class assignments (#19700) - [
pyflakes
] Add secondary annotation showing previous definition (F811
) (#19900)
Documentation
- Fix description of global config file discovery strategy (#19188)
- Update outdated links to https://typing.python.org/en/latest/source/stubs.html (#19992)
- [
flake8-annotations
] Remove unused import in example (ANN401
) (#20000)
Contributors
- @AlexWaygood
- @Avasam
- @BurntSushi
- @Cjkjvfnby
- @Gankra
- @IDrokin117
- @MatthewMckee4
- @MichaReiser
- @PrettyWood
- @RazerM
- @carljm
- @chirizxc
- @danparizher
- @dcreager
- @dhruvmanila
- @ericmarkmartin
- @github-actions
- @gkowzan
- @leandrobbraga
- @mtshiba
- @ntBre
- @renovate
- @sharkdp
- @theammir
Install ruff 0.12.10
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/astral-sh/ruff/releases/download/0.12.10/ruff-installer.sh | sh
Install prebuilt binaries via powershell script
powershell -ExecutionPolicy Bypass -c "irm https://github.com/astral-sh/ruff/releases/download/0.12.10/ruff-installer.ps1 | iex"