Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
==0.0.247
->==0.0.253
Release Notes
charliermarsh/ruff
v0.0.253
Compare Source
What's Changed
Rules
pyupgrade
] Avoid rewriting any PEP 604 runtime annotations by @charliermarsh in https://github.com/charliermarsh/ruff/pull/3217pycodestyle
] Missing whitespace after keyword by @carlosmiei in https://github.com/charliermarsh/ruff/pull/3225pycodestyle
] trailing-whitespace, blank-line-contains-whitespace (W291, W293) by @mknaw in https://github.com/charliermarsh/ruff/pull/3122flake8-pyi
]: PYI009, PYI010, PYI021 by @sbdchd in https://github.com/charliermarsh/ruff/pull/3230flake8-pyi
]: PYI011, PYI014 by @sbdchd in https://github.com/charliermarsh/ruff/pull/3238flake8-django
] DJ003, DJ006, DJ007 by @lkh42t in https://github.com/charliermarsh/ruff/pull/3236pylint
] Implement pylint'selse-if-used
rule (PLR5501
) by @chanman3388 in https://github.com/charliermarsh/ruff/pull/3231pylint
] W0603: global-statement by @igozali in https://github.com/charliermarsh/ruff/pull/3227flake8-pie
] Unnecessary list comprehension, with autofix (PIE802) by @matthewlloyd in https://github.com/charliermarsh/ruff/pull/3149Settings
pydocstyle
]: Implementignore-decorators
by @edgarrmondragon in https://github.com/charliermarsh/ruff/pull/3229Bug Fixes
writeln
with --show-settings by @charliermarsh in https://github.com/charliermarsh/ruff/pull/3180TypedDict
andNamedTuple
definitions by @charliermarsh in https://github.com/charliermarsh/ruff/pull/3148flake8-tidy-imports
] fix autofix for relative imports by @sciyoshi in https://github.com/charliermarsh/ruff/pull/3197S105
/S106
/S107
by @edgarrmondragon in https://github.com/charliermarsh/ruff/pull/3222New Contributors
Full Changelog: astral-sh/ruff@v0.0.252...v0.0.253
v0.0.252
Compare Source
What's Changed
Rules
pylint
]redefined-loop-name
(W2901
) by @matthewlloyd in https://github.com/charliermarsh/ruff/pull/3022pylint
]logging-too-many-args
(E1205
) by @md384 in https://github.com/charliermarsh/ruff/pull/3084pylint
]logging-too-few-args
(E1206
) by @md384 in https://github.com/charliermarsh/ruff/pull/3084Bug Fixes
typing.assert_never
as no return by @bluetech in https://github.com/charliermarsh/ruff/pull/3121no-lines-before
preceded by an empty section by @bluetech in https://github.com/charliermarsh/ruff/pull/3139ManualDictLookup
by @Rupt in https://github.com/charliermarsh/ruff/pull/3117New Contributors
Full Changelog: astral-sh/ruff@v0.0.251...v0.0.252
v0.0.251
Compare Source
What's Changed
Bug Fixes
MatchAs
patterns by @charliermarsh in https://github.com/charliermarsh/ruff/pull/3098*args
or**kwargs
by @charliermarsh in https://github.com/charliermarsh/ruff/pull/3102Full Changelog: astral-sh/ruff@v0.0.250...v0.0.251
v0.0.250
Compare Source
What's Changed
Ruff now supports all Python 3.10 and 3.11 language features, including:
match
statements) (PEP 634)except*
statements) (PEP 654)Rules
flake8-bugbear
] Add B029 (except-with-empty-tuple
) from flake8-bugbear by @carlosmiei in https://github.com/charliermarsh/ruff/pull/3068flake8-bugbear
] Add B032 (unintentional-type-annotation
) from flake8_bugbear by @carlosmiei in https://github.com/charliermarsh/ruff/pull/3085tryceratops
]: Add TRY401 (verbose-log-messages
) by @colin99d in https://github.com/charliermarsh/ruff/pull/3036flake8-simplify
]: Add SIM116 (manual-dict-lookup
) by @colin99d in https://github.com/charliermarsh/ruff/pull/2767Features
Bug Fixes
flake8-pytest
] Use LibCST to fix chained assertions by @charliermarsh in https://github.com/charliermarsh/ruff/pull/3087flake8-boolean-trap
] Avoid boolean-trap rules for positional-only builtin calls by @charliermarsh in https://github.com/charliermarsh/ruff/pull/3075flake8-boolean-trap
] Ignore setters in flake8-boolean-trap by @charliermarsh in https://github.com/charliermarsh/ruff/pull/3092flake8-return
] Omitwhile-True
loops from implicit return enforcement by @charliermarsh in https://github.com/charliermarsh/ruff/pull/3076New Contributors
Full Changelog: astral-sh/ruff@v0.0.249...v0.0.250
v0.0.249
Compare Source
What's Changed
Bug Fixes
E731
in class bodies by @JoshKarpel in https://github.com/charliermarsh/ruff/pull/3050New Contributors
Full Changelog: astral-sh/ruff@v0.0.248...v0.0.249
v0.0.248
Compare Source
What's Changed
Rules
numpy
] numpy-legacy-random by @sbrugman in https://github.com/charliermarsh/ruff/pull/2960pycodestyle
] autofix useless semicolons by @sbrugman in https://github.com/charliermarsh/ruff/pull/3001pep8-naming
] Implementflake8-module-naming
by @sbrugman in https://github.com/charliermarsh/ruff/pull/2855flake8-self
] Ignore namedtuple methods in flake8-self by @charliermarsh in https://github.com/charliermarsh/ruff/pull/2998flake8-simplify
] Merge convert-loop-to-any & convert-loop-to-all to reimplemented-builtin by @not-my-profile in https://github.com/charliermarsh/ruff/pull/2903ruff
] Add support forensure_future
for RUF006 by @Lunarmagpie in https://github.com/charliermarsh/ruff/pull/2943pylint
] error when__init__
returns a value by @r3m0t in https://github.com/charliermarsh/ruff/pull/3007flake8-pytest-style
] autofix for composite-assertion (PT018) by @sbrugman in https://github.com/charliermarsh/ruff/pull/2732flake8-tidy-imports
] extend autofix of relative imports by @sbrugman in https://github.com/charliermarsh/ruff/pull/2990Settings
noqa
directives by @charliermarsh in https://github.com/charliermarsh/ruff/pull/2978Bug Fixes
B027
violations in.pyi
files by @JonathanPlasse in https://github.com/charliermarsh/ruff/pull/3016New Contributors
Full Changelog: astral-sh/ruff@v0.0.247...v0.0.248
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.