Release Notes
Preview features
- [
flake8-simplify] Implement fix for maxsplit without separator (SIM905) (#19851)
- [
flake8-use-pathlib] Add fixes for PTH102 and PTH103 (#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 nested Optionals (UP045) (#19770)
Rule changes
- [
pycodestyle] Make E731 fix unsafe instead of display-only for class assignments (#19700)
- [
pyflakes] Add secondary annotation showing previous definition (F811) (#19900)
Documentation
Contributors
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"
Download ruff 0.12.10