Release Notes
Preview features
- [
airflow
] Fix typo "security_managr" to "security_manager" (AIR303
) (#15463)
- [
airflow
] extend and fix AIR302 rules (#15525)
- [
fastapi
] Handle parameters with Depends
correctly (FAST003
) (#15364)
- [
flake8-pytest-style
] Implement pytest.warns diagnostics (PT029
, PT030
, PT031
) (#15444)
- [
flake8-pytest-style
] Test function parameters with default arguments (PT028
) (#15449)
- [
flake8-type-checking
] Avoid false positives for |
in TC008
(#15201)
Rule changes
- [
flake8-todos
] Allow VSCode GitHub PR extension style links in missing-todo-link
(TD003
) (#15519)
- [
pyflakes
] Show syntax error message for F722
(#15523)
Formatter
- Fix curly bracket spacing around f-string expressions containing curly braces (#15471)
- Fix joining of f-strings with different quotes when using quote style
Preserve
(#15524)
Server
- Avoid indexing the same workspace multiple times (#15495)
- Display context for
ruff.configuration
errors (#15452)
Configuration
- Remove
flatten
to improve deserialization error messages (#15414)
Bug fixes
- Parse triple-quoted string annotations as if parenthesized (#15387)
- [
fastapi
] Update Annotated
fixes (FAST002
) (#15462)
- [
flake8-bandit
] Check for builtins
instead of builtin
(S102
, PTH123
) (#15443)
- [
flake8-pathlib
] Fix --select
for os-path-dirname
(PTH120
) (#15446)
- [
ruff
] Fix false positive on global keyword (RUF052
) (#15235)
Contributors
Install ruff 0.9.2
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/astral-sh/ruff/releases/download/0.9.2/ruff-installer.sh | sh
Install prebuilt binaries via powershell script
powershell -ExecutionPolicy ByPass -c "irm https://github.com/astral-sh/ruff/releases/download/0.9.2/ruff-installer.ps1 | iex"
Download ruff 0.9.2