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.1.14
->0.1.15
Release Notes
astral-sh/ruff (ruff)
v0.1.15
Compare Source
Preview features
NURSERY
selector is used with--preview
(#9682)flake8-return
] Add fixes for all rules (RET505
,RET506
,RET507
,RET508
) (#9595)flake8-simplify
] Add fix forif-with-same-arms
(SIM114
) (#9591)pycodestyle
] Add fix formultiple-imports-on-one-line
(E401
) (#9518)pylint
] Add fix forcollapsible-else-if
(PLR5501
) (#9594)pylint
] Add fix foruseless-else-on-loop
(PLW0120
) (#9590)pylint
] Implementassigning-non-slot
(E0237
) (#9623)pylint
] Implementpotential-index-error
(PLE0643
) (#9545)pylint
] Implementtoo-many-nested-blocks
(PLR1702
) (#9172)ruff
] Add rule to sort__slots__
and__match_args__
(#9564)ruff
] Detect unnecessarydict
comprehensions for iterables (RUF025
) (#9613)ruff
] Guard against use ofdefault_factory
as a keyword argument (RUF026
) (#9651)ruff
] Implementmutable-fromkeys-value
(RUF024
) (#9597)CLI
--help
output (#9633)Bug fixes
flake8-no-pep420
] Include global--config
when determining namespace packages (#9603)flake8-pie
] Omit bound tuples passed to.startswith
or.endswith
(#9661)flake8-return
] Avoid panic when fixing inlined else blocks (#9657)flake8-return
] Consider exception suppression in unnecessary assignment (#9673)flake8-return
] TakeNoReturn
annotation into account when analyzing implicit returns (#9636)flake8-simplify
] Support inverted returns inneedless-bool
(SIM103
) (#9619)flake8-type-checking
] Add Pydantic'sBaseConfig
to default-copy list (#9650)flake8-type-checking
] Avoid markingInitVar
as a typing-only annotation (#9688)pycodestyle
] Allowdtype
comparisons intype-comparison
(#9676)pydocstyle
] Re-implementlast-line-after-section
(D413
) (#9654)Documentation
flake8-pytest-style
] Add fix safety documentation forduplicate-parameterize-test-cases
(#9678)pylint
] Documentliteral-membership
fix safety conditions (#9677)isort
] Fix reference toisort
rule code (#9598)Other changes
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.