Release Notes
Released on 2026-05-14.
Preview features
- Add a rule to flag lazy imports that are eagerly evaluated (#25016)
- [
pylint] Standardize diagnostic message (PLR0914,PLR0917) (#24996)
Bug fixes
- Fix
F811false positive for class methods (#24933) - Fix setting selection for multi-folder workspace (#24819)
- [
eradicate] Fix false positive for lines with leading whitespace (ERA001) (#25122) - [
flake8-pyi] Fix false positive for f-string debug specifier (PYI016) (#24098)
Rule changes
- Always include panic payload in panic diagnostic message (#24873)
- Restrict
PYI034for in-place operations to enclosing class (#24511) - Improve error message for parameters that are declared
global(#24902) - Update known stdlib (#25103)
Performance
- [
isort] Avoid constructingglob::Patterns for literal known modules (#25123)
CLI
Configuration
- Increase max allowed value of
line-lengthsetting (#24962)
Documentation
- Add
D203to rules that conflict with the formatter (#25044) - Clarify
COM819and formatter interaction (#25045) - Clarify that
NotImplementedis a value, not an exception (F901) (#25054) - Update number of lint rules supported (#24942)
Other changes
- Simplify the playground's markdown template (#24924)
Contributors
- @MichaReiser
- @brian-c11
- @Andrej730
- @denyszhak
- @darestack
- @sharkdp
- @charliermarsh
- @EkriirkE
- @eyupcanakman
- @Hrk84ya
- @thernstig
- @ntBre
Install ruff 0.15.13
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://releases.astral.sh/github/ruff/releases/download/0.15.13/ruff-installer.sh | shInstall prebuilt binaries via powershell script
powershell -ExecutionPolicy Bypass -c "irm https://releases.astral.sh/github/ruff/releases/download/0.15.13/ruff-installer.ps1 | iex"Download ruff 0.15.13
Verifying GitHub Artifact Attestations
The artifacts in this release have attestations generated with GitHub Artifact Attestations. These can be verified by using the GitHub CLI:
gh attestation verify <file-path of downloaded artifact> --repo astral-sh/ruffYou can also download the attestation from GitHub and verify against that directly:
gh attestation verify <file-path of downloaded artifact> --bundle <file-path of downloaded attestation>