v0.0.223
版本发布时间: 2023-01-16 11:45:35
astral-sh/ruff最新发布版本:0.5.3(2024-07-19 01:10:02)
What's Changed
- Turn define_rule_mapping! into a procedural macro by @not-my-profile in https://github.com/charliermarsh/ruff/pull/1885
- Convert confusable violations to named fields by @charliermarsh in https://github.com/charliermarsh/ruff/pull/1887
- Add a dedicated token indexer for continuations and comments by @charliermarsh in https://github.com/charliermarsh/ruff/pull/1886
- Remove some Clippy allows by @charliermarsh in https://github.com/charliermarsh/ruff/pull/1888
- Update add plugin/rule scripts by @messense in https://github.com/charliermarsh/ruff/pull/1889
- Improve magic value message wording by @TomFryers in https://github.com/charliermarsh/ruff/pull/1892
- Use more precise error ranges for RET505~508 by @harupy in https://github.com/charliermarsh/ruff/pull/1895
- Implement flake8-commas by @bluetech in https://github.com/charliermarsh/ruff/pull/1872
- refactor: Split CliSettings from Settings by @not-my-profile in https://github.com/charliermarsh/ruff/pull/1891
- Skip noqa checker if no diagnostics are found by @charliermarsh in https://github.com/charliermarsh/ruff/pull/1898
- Don't require docstrings for setters and deleters by @charliermarsh in https://github.com/charliermarsh/ruff/pull/1899
- Buffer diagnostic writes to
stdout
by @charliermarsh in https://github.com/charliermarsh/ruff/pull/1900 - Lock
stdout
once when printing diagnostics by @messense in https://github.com/charliermarsh/ruff/pull/1901 - Avoid triggering SIM117 for async with statements by @charliermarsh in https://github.com/charliermarsh/ruff/pull/1903
New Contributors
- @TomFryers made their first contribution in https://github.com/charliermarsh/ruff/pull/1892
Full Changelog: https://github.com/charliermarsh/ruff/compare/v0.0.222...v0.0.223