v0.0.208
版本发布时间: 2023-01-03 12:19:28
astral-sh/ruff最新发布版本:0.5.3(2024-07-19 01:10:02)
What's Changed
- Adds a codespell linter by @colin99d in https://github.com/charliermarsh/ruff/pull/1553
- Avoid merging import from statements with inline comments by @charliermarsh in https://github.com/charliermarsh/ruff/pull/1562
- Avoid PEP 604 rewrites for runtime annotations by @charliermarsh in https://github.com/charliermarsh/ruff/pull/1563
- Implement
flake8-pytest-style
by @edgarrmondragon in https://github.com/charliermarsh/ruff/pull/1506 - Always check directly-passed-in files by @charliermarsh in https://github.com/charliermarsh/ruff/pull/1564
- Remove common-path dependency by @charliermarsh in https://github.com/charliermarsh/ruff/pull/1565
- Rename checks.rs to registry.rs by @charliermarsh in https://github.com/charliermarsh/ruff/pull/1566
- Remove extend- from docstring configuration examples by @charliermarsh in https://github.com/charliermarsh/ruff/pull/1571
- Avoid invalid trailing comma fixes for mock rewrites by @charliermarsh in https://github.com/charliermarsh/ruff/pull/1570
- Automatically set baseline D codes based on convention by @charliermarsh in https://github.com/charliermarsh/ruff/pull/1574
- Remove need for vendored format/cformat code by @olliemath in https://github.com/charliermarsh/ruff/pull/1573
- Warn user when D203 and D211 are enabled by @charliermarsh in https://github.com/charliermarsh/ruff/pull/1576
- Add
flake8-pie
plugin withprefer_list_builtin
by @charliermarsh in https://github.com/charliermarsh/ruff/pull/1578 - Add scripts to generate plugin and check boilerplate by @charliermarsh in https://github.com/charliermarsh/ruff/pull/1579
- Implement unnecessary-pass-statement by @charliermarsh in https://github.com/charliermarsh/ruff/pull/1580
- Implement dupe-class-field-definitions by @charliermarsh in https://github.com/charliermarsh/ruff/pull/1581
- Implement autofix for F541 by @harupy in https://github.com/charliermarsh/ruff/pull/1577
- Add a link to GitHub from the playground by @charliermarsh in https://github.com/charliermarsh/ruff/pull/1583
- Mark
FStringMissingPlaceholders
as fixable by @harupy in https://github.com/charliermarsh/ruff/pull/1582 - Swap accent color for playground by @charliermarsh in https://github.com/charliermarsh/ruff/pull/1584
- Prefer GitHub icon on mobile by @charliermarsh in https://github.com/charliermarsh/ruff/pull/1585
- Implement and-false and or-true rules by @charliermarsh in https://github.com/charliermarsh/ruff/pull/1586
Full Changelog: https://github.com/charliermarsh/ruff/compare/v0.0.207...v0.0.208