0.15.5
📦 ruffView on GitHub →
✨ 3 features🐛 6 fixes🔧 9 symbols
Summary
This release introduces default discovery of Markdown files in preview mode and adds fixes across several linters including `refurb`, `pyflakes`, and `pyupgrade`. It also includes improvements for FastAPI dependency handling.
✨ New Features
- Markdown files are now discovered by default in preview mode.
- The `PERF102` linter rule has been extended to cover comprehensions and generators.
- Added a fix for the `none-not-at-end-of-union` rule (`RUF036`).
🐛 Bug Fixes
- Fixed false positives for `refurb` rules `FURB101` and `FURB103` when the I/O variable is used later.
- Fixed false positive for `re.split` when using an empty string pattern (`RUF055`).
- Handled callable class dependencies that implement the `__call__` method correctly for the `fastapi` checker (`FAST003`).
- Fixed incorrect section ordering for NumPy docstrings (`D420`).
- Fixed false positive for name shadowing caused by re-exports in `pyflakes` (`F811`).
- Avoided inserting redundant `None` elements during upgrades related to `pyupgrade` (`UP045`).