github astral-sh/ruff v0.0.278

latest releases: 0.6.6, 0.6.5, 0.6.4...
14 months ago

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

What's Changed

Rules

  • [pylint] Implement typevar-bivariance (PLC0131) by @tjkuson in #5517
  • [flake8-pyi] Implement unnecessary-literal-union (PYI030) by @zanieb in #5570
  • [pylint] Implement type-name-incorrect-variance (PLC0105) by @tjkuson in #5651
  • [ruff] Implement unnecessary-list-allocation-for-first-element (RUF015) by @evanrittenhouse in #5549
  • [flake8-bugbear] Implement re-sub-positional-args (B034) by @charliermarsh in #5669
  • [ruff] Implement invalid-index-type (RUF016) by @zanieb in #5602

Settings

Bug Fixes

New Contributors

Full Changelog: v0.0.277...v0.0.278

Don't miss a new ruff release

NewReleases is sending notifications on new releases.