github astral-sh/ruff v0.0.262

latest releases: 0.7.3, 0.7.2, 0.7.1...
19 months ago

What's Changed

Configuration

Rules

  • [flake8-simplify] Add autofix for contextlib.suppress (SIM105) by @leiserfg in #3915
  • [flake8-bandit] Ignore assert errors (S101) in TYPE_CHECKING blocks by @charliermarsh in #3960
  • [flake8-comprehensions] Implement unnecessary-literal-within-dict-call (C418) by @charliermarsh in #3969
  • [ruff] Add checks for mutable defaults dataclasses by @mosauter in #3877
  • [flake8-import-conventions] Add a rule for BannedImportAlias by @stancld in #3926
  • [flake8-pyi] Implement duplicate types in unions (PYI016) by @USER-5 in #3922
  • [flake8-bandit] Implement flake8-bandit shell injection rules by @robyoung in #3924
  • [flake8-comprehensions] Redirect PIE802 to C419 by @charliermarsh in #3971

Bug Fixes

New Contributors

Full Changelog: v0.0.261...v0.0.262

Don't miss a new ruff release

NewReleases is sending notifications on new releases.