The Wayback Machine - https://web.archive.org/web/20230607145002/https://github.com/charliermarsh/ruff/releases
Skip to content

Releases: charliermarsh/ruff

v0.0.271

06 Jun 22:57
7cc205b
Compare
Choose a tag to compare

What's Changed

Rules

Settings

Bug Fixes

New Contributors

Full Changelog: v0.0.270...v0.0.271

v0.0.270

24 May 19:37
09c50c3
Compare
Choose a tag to compare

What's Changed

Rules

Settings

Bug Fixes

New Contributors

Full Changelog: v0.0.269...v0.0.270

v0.0.269

18 May 20:32
d4c0a41
Compare
Choose a tag to compare

What's Changed

(This is a rerelease of v0.0.268, which didn't make it to PyPI due to user error. As such, the release notes are copied below.)

pycodestyle

This release includes optimized implementations of a large portion of pycodestyle, for those that use Ruff without an autoformatter.

In this initial release, the rules are being introduced under a "nursery" flag, which requires that users explicitly select them (e.g., select = ["E111"]); in other words, these rules are not yet enabled via select = ["E"].

If you're interested in testing the pycodestyle rules, you can enable them via:

select = [
    "E111", "E112", "E113", "E114", "E115", "E116", "E117",
    "E201", "E202", "E203", "E211", "E221", "E222", "E223",
    "E224", "E225", "E226", "E227", "E228", "E231", "E251",
    "E252", "E261", "E262", "E265", "E266", "E271", "E272",
    "E273", "E274", "E275",
]

These rules will be included as part of the E category in a future release.

Breaking Changes

Rules

Settings

Bug Fixes

New Contributors

Full Changelog: v0.0.267...v0.0.269

v0.0.268

18 May 18:46
a3aa841
Compare
Choose a tag to compare

What's Changed

pycodestyle

This release includes optimized implementations of a large portion of pycodestyle, for those that use Ruff without an autoformatter.

In this initial release, the rules are being introduced under a "nursery" flag, which requires that users explicitly select them (e.g., select = ["E111"]); in other words, these rules are not yet enabled via select = ["E"].

If you're interested in testing the pycodestyle rules, you can enable them via:

select = [
    "E111", "E112", "E113", "E114", "E115", "E116", "E117",
    "E201", "E202", "E203", "E211", "E221", "E222", "E223",
    "E224", "E225", "E226", "E227", "E228", "E231", "E251",
    "E252", "E261", "E262", "E265", "E266", "E271", "E272",
    "E273", "E274", "E275",
]

These rules will be included as part of the E category in a future release.

Breaking Changes

Rules

Settings

Bug Fixes

New Contributors

Full Changelog: v0.0.267...v0.0.268

v0.0.267

12 May 19:08
Compare
Choose a tag to compare

Summary

Follow-up release to v0.0.266 to fix an issue with python -m ruff- and import ruff-based workflows.

(No new rules or functionality.)

What's Changed

Rules

  • Implement RUF010 to detect explicit type conversions within f-strings by @LotemAm in #4387

Other Changes

New Contributors

Full Changelog: v0.0.266...v0.0.267

v0.0.266

12 May 17:42
67076b2
Compare
Choose a tag to compare

What's Changed

Breaking Changes

Rules

  • [pygrep-hooks] Implement pygrep-hook's Mock-mistake diagnostic by @charliermarsh in #4366
  • [pylint] Implement nested-min-max (W3301) by @mccullocht in #4200
  • [flynt] Implement Flynt static string join transform as FLY002 by @akx in #4196
  • [pylint] Include positional- and keyword-only arguments in too-many-arguments by @charliermarsh in #4329
  • [ruff] Update confusable character mapping by @akx in #4274

Settings

Bug Fixes

New Contributors

Full Changelog: v0.0.265...v0.0.266

v0.0.265

05 May 17:29
11e1380
Compare
Choose a tag to compare

What's Changed

Breaking Changes

Rules

Bug Fixes

CLI

Documentation

New Contributors

Full Changelog: v0.0.264...v0.0.265

v0.0.264

02 May 06:58
8cb76f8
Compare
Choose a tag to compare

What's Changed

Rules

Settings

Bug Fixes

Internal

Full Changelog: v0.0.263...v0.0.264

v0.0.263

25 Apr 05:50
fd7ccb4
Compare
Choose a tag to compare

What's Changed

Rules

  • [flake8-bugbear] Add pytest.raises(Exception) support to B017 by @alanhdu in #4052
  • [flake8-import-conventions] Implement new rule ICN003 to ban from ... import ... for selected modules by @edgarrmondragon in #4040
  • [pylint] Implement PLE0302 unexpected-special-method-signature by @mccullocht in #4075
  • [pep8-naming] Ignore N815 for TypedDict fields by @JonathanPlasse in #4066

Bug Fixes

New Contributors

Full Changelog: v0.0.262...v0.0.263

v0.0.262

19 Apr 20:09
eed6866
Compare
Choose a tag to compare

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