Skip to content

v0.0.273

Compare
Choose a tag to compare
@charliermarsh charliermarsh released this 20 Jun 19:24
· 3226 commits to main since this release
fde5dbc

What's Changed

Highlights include:

  • Autofix capabilities for rules like flake8-import-conventions, which require symbol renames across a file.
  • Significant decrease in Ruff's cache size (e.g., a ~50% decrease for FastAPI).
  • Dozens and dozens of bug fixes + performance improvements.

Rules

  • [copyright] Implement copyright notice detection by @Ryang20718 in #4701
  • [flake8-datetimez] Enable UTC-import for datetime-utc-alias fix by @charliermarsh in #5100
  • [flake8-implicit-str-concat] Add autofix for ISC001 by @tkukushkin in #4853
  • [flake8-import-conventions] Enable autofix for unconventional imports rule by @charliermarsh in #5152
  • [flake8-pyi] Add autofix for Set-to-AbstractSet rewrite using reference tracking by @charliermarsh in #5074
  • [flake8-pyi] Implement PYI044 by @Thomasdezeeuw in #5021
  • [flake8-return] Extend revised RET504 implementation to with statements by @charliermarsh in #4998
  • [flake8-return] Implement autofix for revised RET504 rule by @charliermarsh in #4999
  • [flake8-return] Refactor RET504 to only enforce assignment-then-return pattern by @charliermarsh in #4997
  • [flake8-slots] Add plugin, add SLOT000, SLOT001 and SLOT002 by @qdegraaf in #4909
  • [perflint] Add perflint plugin, add first rule PERF102 by @qdegraaf in #4821
  • [pylint] Add Pylint rule comparison-with-itself (R0124) by @tjkuson in #4957
  • [pyupgrade] Add a rule to remove unnecessary parentheses in class definitions by @charliermarsh in #5032
  • [ruff] Add a rule for static keys in dict comprehensions by @rodjunger in #4929
  • [ruff] Add rule to disallow implicit optional with autofix by @dhruvmanila in #4831
  • [ruff] Expand RUF008 to all classes, but to a new code (RUF012) by @adampauls in #4390
  • [ruff] Remove unannotated attributes from RUF008 by @charliermarsh in #5049
  • [ruff] Upgrade explicit-type-conversion rule (RUF010) to remove unnecessary str calls by @charliermarsh in #4971

Settings

Caching

Jupyter

Bug Fixes

New Contributors

Full Changelog: v0.0.272...v0.0.273