v0.0.225
版本发布时间: 2023-01-18 13:28:42
astral-sh/ruff最新发布版本:v0.4.2(2024-04-26 01:55:24)
What's Changed
- Define origin names & URLs within doc comments by @not-my-profile in https://github.com/charliermarsh/ruff/pull/1929
- Refactor settings by @not-my-profile in https://github.com/charliermarsh/ruff/pull/1930
- Allow duplicate enum values for enum.auto() by @charliermarsh in https://github.com/charliermarsh/ruff/pull/1933
- Move
@functools.cache
rewrites to their own rule by @charliermarsh in https://github.com/charliermarsh/ruff/pull/1938 - cli: Catch panics to tell the user to report them by @not-my-profile in https://github.com/charliermarsh/ruff/pull/1928
- Avoid autofixing comma rules when --fix is not set by @charliermarsh in https://github.com/charliermarsh/ruff/pull/1940
- Avoid broken autofix for
SIM103
withelif
by @charliermarsh in https://github.com/charliermarsh/ruff/pull/1944 - Implement
flake8-no-pep420
by @edgarrmondragon in https://github.com/charliermarsh/ruff/pull/1942 - Exempt
contextlib.ExitStack()
for SIM115 rules by @charliermarsh in https://github.com/charliermarsh/ruff/pull/1946 - Restrict SIM105 to try blocks with a body of one simple statement by @andersk in https://github.com/charliermarsh/ruff/pull/1948
Full Changelog: https://github.com/charliermarsh/ruff/compare/v0.0.224...v0.0.225