v0.0.275
github-actions
released this
22 Jun 17:25
·
4939 commits
to main
since this release
What's Changed
Highlights include a 7-10x decrease in Ruff's cache size.
Rules
- Add support for top-level quoted annotations in RUF013 by @charliermarsh in #5235
- Add support for nested quoted annotations in RUF013 by @dhruvmanila in #5254
- Move
compare-to-empty-string
(PLC1901
) to nursery by @charliermarsh in #5264 - Ignore Pydantic classes when evaluating
mutable-class-default
(RUF012
) by @charliermarsh in #5273 - Allow
typing.Final
formutable-class-default annotations
(RUF012
) by @charliermarsh in #5274 - Modify
deprecated-import
(UP035
) to prefertyping_extensions
in some versions by @tjkuson in #5291
Bug Fixes
- Restore existing bindings when unbinding caught exceptions by @charliermarsh in #5256
- Avoid including nursery rules in linter-level selectors by @charliermarsh in #5268
New Contributors
Full Changelog: v0.0.274...v0.0.275