v0.0.290
github-actions
released this
15 Sep 21:51
·
3869 commits
to main
since this release
What's Changed
Rules
- Update
deprecated-import
lists based on recenttyping-extensions
release by @charliermarsh in #7356 - Add support for bounds, constraints, and explicit variance on generic type variables to
UP040
by @nathanwhit in #6749
Settings
- Show rule codes in shell tab completion by @charliermarsh in #7375
Bug Fixes
- Parenthesize single-generator arguments when adding reverse keyword by @charliermarsh in #7365
- Invert reverse argument regardless of whether it's a boolean by @charliermarsh in #7372
- Extend
C416
to catch tuple unpacking by @charliermarsh in #7363 - Allow
NURSERY
rule selctor in JSON Schema by @charliermarsh in #7374 - Avoid flagging single-quoted docstrings with continuations for multi-line rules by @charliermarsh in #7392
- Treat whitespace-only line as blank for
D411
by @charliermarsh in #7351
Preview
- [
flake8-logging
] New ruleundocumented-warn
(LOG009
) by @qdegraaf in #7249 - [
flake8-logging
] New ruledirect-logger-instantiation
(LOG001
) by @charliermarsh in #7397 - [
flake8-logging
] New pluginflake8_logging
(LOG
) by @qdegraaf in #7249 - [
perflint
] Addmanual-dict-comprehsion
(PERF403
) by @qdegraaf in #6132 - [
pylint
] New ruletoo-many-public-methods
(PLR0904
) by @jelly in #6179 - [
refurb
] New ruleno-slice-copy
(FURB145
) by @tjkuson in #7007 - Add warnings for nursery and preview rule selection by @zanieb in #7210
- Remove the
PREVIEW
rule selector by @zanieb in #7389 pre-commit
support for the alpha formatter by @zanieb in astral-sh/ruff-pre-commit#50
New Contributors
- @nathanwhit made their first contribution in #6749
Full Changelog: v0.0.289...v0.0.290