0.11.3
📦 ruffView on GitHub →
✨ 14 features🐛 2 fixes🔧 7 symbols
Summary
Ruff 0.11.3 introduces numerous new linting rules and syntax‑error detections, adds autofixes for Airflow rules, expands trusted‑input handling, and includes several bug fixes and CLI improvements.
✨ New Features
- [`airflow`] Add more autofixes for `AIR302`
- [`airflow`] Move `AIR301` to `AIR002`
- [`airflow`] Move `AIR302` to `AIR301` and `AIR303` to `AIR302`
- [`flake8-bandit`] Mark `str` and `list[str]` literals as trusted input (`S603`)
- [`ruff`] Support slices in `RUF005`
- [syntax-errors] Start detecting compile-time syntax errors
- [syntax-errors] Duplicate type parameter names
- [syntax-errors] Irrefutable `case` pattern before final case
- [syntax-errors] Multiple assignments in `case` pattern
- [syntax-errors] Single starred assignment target
- [syntax-errors] Starred expressions in `return`, `yield`, and `for`
- [syntax-errors] Store to or delete `__debug__`
- Check `pyproject.toml` correctly when it is passed via stdin
- Add import `numpy.typing as npt` to default `flake8-import-conventions.aliases`
🐛 Bug Fixes
- Error instead of `panic!` when running Ruff from a deleted directory
- [syntax-errors] Fix false positive for parenthesized tuple index
🔧 Affected Symbols
AIR302AIR301AIR002AIR303S603RUF005syntax-errors