Release Notes
Preview features
- Add Python version support to ruff analyze CLI (#13426)
- Add
exclude support to ruff analyze (#13425)
- Fix parentheses around return type annotations (#13381)
Rule changes
- [
pycodestyle] Fix: Don't autofix if the first line ends in a question mark? (D400) (#13399)
Bug fixes
- Respect
lint.exclude in ruff check --add-noqa (#13427)
Performance
- Avoid tracking module resolver files in Salsa (#13437)
- Use
forget for module resolver database (#13438)
Install ruff 0.6.7
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/astral-sh/ruff/releases/download/0.6.7/ruff-installer.sh | sh
Install prebuilt binaries via powershell script
powershell -ExecutionPolicy ByPass -c "irm https://github.com/astral-sh/ruff/releases/download/0.6.7/ruff-installer.ps1 | iex"
Download ruff 0.6.7