chore(deps): update dependency ruff to v0.3.4 #52
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.4Release Notes
astral-sh/ruff (ruff)
v0.3.4Compare Source
Preview features
flake8-simplify] Detect implicitelsecases inneedless-bool(SIM103) (#10414)pylint] Implementnan-comparison(PLW0117) (#10401)pylint] Implementnonlocal-and-global(E115) (#10407)pylint] Implementsingledispatchmethod-function(PLE5120) (#10428)refurb] Implementlist-reverse-copy(FURB187) (#10212)Rule changes
flake8-pytest-style] Add automatic fix forpytest-parametrize-values-wrong-type(PT007) (#10461)pycodestyle] Allow SPDX license headers to exceed the line length (E501) (#10481)Formatter
Bug fixes
C409) (#10491)namefrom being reformatted (#10442)W605(#10480).pyifiles (#10512)E231bug: Inconsistent catch compared to pycodestyle, such as when dict nested in list (#10469)Optionsreferences to blank line docs (#10498)from __future__ import annotationsis active (#10362)"' (#10513)flake8-bugbear] Allow tuples of exceptions (B030) (#10437)flake8-quotes] Avoid syntax errors due to invalid quotes (Q000, Q002) (#10199)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 - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ 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.