Skip to content

v0.0.283

Compare
Choose a tag to compare
@github-actions github-actions released this 08 Aug 19:13
· 3794 commits to main since this release
fe9590f

What's Changed

Breaking Changes

  • Assume Python 3.8 instead of 3.10 for target version by @zanieb in #6397

Rules

  • [flake8-pyi] PYI019: Detects if a type variable is used instead of Self in return annotations by @qdegraaf in #6204
  • [flake8-pyi] PYI051: Detects unions of Literal types by @LaBatata101 in #6215
  • [flake8-pyi] PYI055: Detects unions of types by @LaBatata101 in #6316
  • [pylint] E1300: Detects invalid string format characters by @silvanocerza in #6171
  • [pyupgrade] UP040: Upgrades type alias annotations to use PEP-695 syntax by @zanieb in #6289

Rule Changes

Bug Fixes

  • [flake8-bugbear] B006: Respect typing_extensions imports of Annotated by @PIG208 in #6361
  • [flake8-pyi] PYI019: Fix panic with positional-only arguments by @charliermarsh in #6350
  • [flake8-use-pathlib] Avoid raising PTH206 with maxsplit by @charliermarsh in #6283
  • [flake8] F841: Update autofix to not remove Jupyer magic expressions by @dhruvmanila in #6141
  • [pycodestyle] E721: Include comparisons to builtin types by @charliermarsh in #6325
  • [pycodestyle] E721: Match left-hand side types() call in types-comparison by @charliermarsh in #6326
  • [pyupgrade] UP031: Avoid auto-fixing if there are comments within the right-hand side by @harupy in #6364
  • [pyupgrade] UP032: Avoid auto-fixing if comments are present around format call arguments by @harupy in #6342
  • [pyupgrade] UP032: Improve invalid expression check by @harupy in #6308
  • Avoid attempting to fix .format(...) calls with too-few-arguments by @charliermarsh in #6401
  • Fix bug where .gitignore files in parent directories were incorrectly used by @charliermarsh in #6368
  • Fix duplicate violations raised on nested bitwise or Union expressions by @charliermarsh in #6399

Playground

Other Changes

  • Improve handling of violations around Jupyter magic expressions by @dhruvmanila in #5552
  • Reduce memory usage by boxing type params and arguments fields on the class definition node by @charliermarsh in #6275
  • Upgrade Rust to 1.71 by @zanieb in #6323

New Contributors

Full Changelog: v0.0.282...v0.0.283