Release Notes
Preview features
- [
airflow
] Add missing AIR302
attribute check (#17115)
- [
airflow
] Expand module path check to individual symbols (AIR302
) (#17278)
- [
airflow
] Extract AIR312
from AIR302
rules (AIR302
, AIR312
) (#17152)
- [
airflow
] Update oudated AIR301
, AIR302
rules (#17123)
- [syntax-errors] Async comprehension in sync comprehension (#17177)
- [syntax-errors] Check annotations in annotated assignments (#17283)
- [syntax-errors] Extend annotation checks to
await
(#17282)
Bug fixes
- [
flake8-pie
] Avoid false positive for multiple assignment with auto()
(PIE796
) (#17274)
Rule changes
- [
ruff
] Fix RUF100
to detect unused file-level noqa
directives with specific codes (#17042) (#17061)
- [
flake8-pytest-style
] Avoid false positive for legacy form of pytest.raises
(PT011
) (#17231)
Documentation
- Fix formatting of "See Style Guide" link (#17272)
Contributors
Install ruff 0.11.5
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/astral-sh/ruff/releases/download/0.11.5/ruff-installer.sh | sh
Install prebuilt binaries via powershell script
powershell -ExecutionPolicy Bypass -c "irm https://github.com/astral-sh/ruff/releases/download/0.11.5/ruff-installer.ps1 | iex"
Download ruff 0.11.5