Skip to content

v0.0.281

Compare
Choose a tag to compare
@github-actions github-actions released this 31 Jul 18:28
· 2607 commits to main since this release
dbd60b2

What's Changed

See the release blog post for more, including detailed descriptions of any newly added rules.

New rules

Rule changes

  • [flake8-bugbear] Extends B002 to detect unary prefix decrement operators by @tjkuson in #5998
  • [flake8-pytest-style] Avoid raising PT012 for simple with statements by @harupy in #6081
  • [flake8-pytest-style] Allow pytest.raises body to contain a single func or class definition by @harupy in #6083
  • [flake8-simplify] Extend SIM118 with not in by @sbrugman in #5995
  • [perflint] Skip PERF203 violations for multi-statement loops by @charliermarsh in #6145
  • [pyupgrade] Add support for int, float, bool in UP018 by @dhruvmanila in #6013
  • [tryceratops] Add suggested fix for TRY201 by @dhruvmanila in #6008

Settings

Bug Fixes

New Contributors

Full Changelog: v0.0.280...v0.0.281