v0.0.227
版本发布时间: 2023-01-20 12:25:11
astral-sh/ruff最新发布版本:0.5.3(2024-07-19 01:10:02)
What's Changed
- Drop
RuleCode
in favor ofRule
enum with human-friendly names by @not-my-profile in https://github.com/charliermarsh/ruff/pull/1941 - Make define_rule_mapping! set rule code as doc comment of variants by @not-my-profile in https://github.com/charliermarsh/ruff/pull/1991
- Added pylint formatter by @damienallen in https://github.com/charliermarsh/ruff/pull/1995
- Preserve unmatched comparators in
SIM109
by @charliermarsh in https://github.com/charliermarsh/ruff/pull/1998 - Drop
Violation::placeholder
by @not-my-profile in https://github.com/charliermarsh/ruff/pull/1996 - Apply #[derive(Default)] fixes suggested by Clippy by @akx in https://github.com/charliermarsh/ruff/pull/2000
- Avoid
SIM201
andSIM202
errors in__ne__
et al by @charliermarsh in https://github.com/charliermarsh/ruff/pull/2001 - Fix that --explain panics by @not-my-profile in https://github.com/charliermarsh/ruff/pull/2002
- Split up pydocstyle rules by @akx in https://github.com/charliermarsh/ruff/pull/2003
- Add RUF005 "unpack instead of concatenating" check by @akx in https://github.com/charliermarsh/ruff/pull/1957
- Enable autofix for
FitsOnOneLine
(D200
) by @charliermarsh in https://github.com/charliermarsh/ruff/pull/2006 - Change AsRef
impl for Rule to kebab-case by @not-my-profile in https://github.com/charliermarsh/ruff/pull/2009 - Upgrade RustPython by @charliermarsh in https://github.com/charliermarsh/ruff/pull/2011
- Avoid SIM401 in
elif
blocks by @charliermarsh in https://github.com/charliermarsh/ruff/pull/2012 - Improve --explain output by @not-my-profile in https://github.com/charliermarsh/ruff/pull/2010
- Avoid checking row types for single-name @parametrize decorators by @charliermarsh in https://github.com/charliermarsh/ruff/pull/2013
New Contributors
- @damienallen made their first contribution in https://github.com/charliermarsh/ruff/pull/1995
Full Changelog: https://github.com/charliermarsh/ruff/compare/v0.0.226...v0.0.227