v0.0.213
版本发布时间: 2023-01-07 13:39:26
astral-sh/ruff最新发布版本:0.5.3(2024-07-19 01:10:02)
What's Changed
- Remove Result from SourceCodeGenerator signature by @charliermarsh in https://github.com/charliermarsh/ruff/pull/1677
- Implement
From
conversion for style detector-to-generator by @charliermarsh in https://github.com/charliermarsh/ruff/pull/1678 - Replace
toml
withtoml_edit
by @messense in https://github.com/charliermarsh/ruff/pull/1680 - Tweak badge logo by @charliermarsh in https://github.com/charliermarsh/ruff/pull/1681
- Don't mark D205 as fixable in more-lines case by @charliermarsh in https://github.com/charliermarsh/ruff/pull/1682
- Add requested context to issue template by @charliermarsh in https://github.com/charliermarsh/ruff/pull/1679
- Update
CONTRIBUTING.md
location onREADME.md
by @saadmk11 in https://github.com/charliermarsh/ruff/pull/1688 - Implement flake8-simplify SIM108 by @messense in https://github.com/charliermarsh/ruff/pull/1684
- Remove TODO comment by @harupy in https://github.com/charliermarsh/ruff/pull/1691
- Add specialized conversions for RefEquality by @charliermarsh in https://github.com/charliermarsh/ruff/pull/1689
- Avoiding flagging elif statements as potential ternaries by @charliermarsh in https://github.com/charliermarsh/ruff/pull/1694
- [
flake8-bandit
] Add Rule forS113
(requests call without timeout) by @saadmk11 in https://github.com/charliermarsh/ruff/pull/1692 - Implement flake8-simplify SIM109 by @messense in https://github.com/charliermarsh/ruff/pull/1687
- Simplify SIM201, SIM202, SIM208 by @chammika-become in https://github.com/charliermarsh/ruff/pull/1666
- [
flake8-bandit
] Add Rule forS501
(request call withverify=False
) by @saadmk11 in https://github.com/charliermarsh/ruff/pull/1695 - Require explicit opt-in for GitHub and Gitlab formats by @charliermarsh in https://github.com/charliermarsh/ruff/pull/1697
- Include error location in GitHub Action diagnostic messages by @charliermarsh in https://github.com/charliermarsh/ruff/pull/1696
- Include list of fixed files in
stderr
output by @charliermarsh in https://github.com/charliermarsh/ruff/pull/1701 - Remove redundant #![allow()] from main_native by @andersk in https://github.com/charliermarsh/ruff/pull/1703
- Forbid unsafe code by @andersk in https://github.com/charliermarsh/ruff/pull/1704
- Switch SourceCodeGenerator.buffer from Vec
to String by @andersk in https://github.com/charliermarsh/ruff/pull/1702 - Remove
add_check
methods by @charliermarsh in https://github.com/charliermarsh/ruff/pull/1705 - Use
trim_end
when checking line continutation by @harupy in https://github.com/charliermarsh/ruff/pull/1706 - Automatically remove unused variables by @charliermarsh in https://github.com/charliermarsh/ruff/pull/1683
- Lazily compute ranges for class and function bindings by @charliermarsh in https://github.com/charliermarsh/ruff/pull/1708
- Add more backticks to flake8-pytest-style error messages by @harupy in https://github.com/charliermarsh/ruff/pull/1707
- Increase blackd wait time by @charliermarsh in https://github.com/charliermarsh/ruff/pull/1709
- Revert "Include list of fixed files in
stderr
output (#1701)" by @charliermarsh in https://github.com/charliermarsh/ruff/pull/1711
Full Changelog: https://github.com/charliermarsh/ruff/compare/v0.0.212...v0.0.213