⬆️ Update dependency ruff to v0.3.3 #1278
Merged
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.3.2->0.3.3Release Notes
astral-sh/ruff (ruff)
v0.3.3Compare Source
Preview features
flake8-bandit]: ImplementS610rule (#10316)pycodestyle] Implementblank-line-at-end-of-file(W391) (#10243)pycodestyle] Implementredundant-backslash(E502) (#10292)pylint] - implementredeclared-assigned-name(W0128) (#9268)Rule changes
flake8_comprehensions] Handled special case forC400which also matchesC416(#10419)flake8-bandit] Implement upstream updates forS311,S324andS605(#10313)pyflakes] RemoveF401fix for__init__imports by default and allow opt-in to unsafe fix (#10365)pylint] Implementinvalid-bool-return-type(E304) (#10377)pylint] Include builtin warnings in useless-exception-statement (PLW0133) (#10394)CLI
ruff check(#8631)Bug fixes
PIE970] Allow trailing ellipsis intyping.TYPE_CHECKING(#10413)TRIO115if the argument is a variable (#10376)F811] Avoid removing shadowed imports that point to different symbols (#10387)F821andF822false positives in.pyifiles (#10341)F821false negatives in.pyfiles whenfrom __future__ import annotationsis active (#10362)Indexerfails to identify continuation preceded by newline #10351 (#10354)Settingsdisplay (#10370)C413] Wrap expressions in parentheses when negating (#10346)pycodestyle] Do not ignore lines before the first logical line in blank lines rules. (#10382)pycodestyle] Do not triggerE225andE275when the next token is a ')' (#10315)pylint] Avoid false-positive slot non-assignment for__dict__(PLE0237) (#10348)Documentation
ruff.tomlformat in README (#10393)RUF008] Make it clearer that a mutable default in a dataclass is only valid if it is typed as a ClassVar (#10395)pylint] Extend docs and test ininvalid-str-return-type(E307) (#10400).fromcheckandformatcommands (#10217)Configuration
📅 Schedule: Branch creation - "before 2am" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, 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.