⬆️ Update dependency ruff to v0.2.2#344
Merged
renovate[bot] merged 1 commit intomainfrom Feb 19, 2024
Merged
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #344 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 5 5
Lines 165 165
Branches 31 31
=========================================
Hits 165 165 ☔ View full report in Codecov by Sentry. |
5745b4a to
9be7ae5
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.2.1->0.2.2Release Notes
astral-sh/ruff (ruff)
v0.2.2Compare Source
Highlights include:
--preview).--configargument (e.g.,
--config "lint.isort.combine-as-imports=false").Preview features
pycodestyle] Add blank line(s) rules (E301,E302,E303,E304,E305,E306) (#9266)refurb] Implementreadlines_in_for(FURB129) (#9880)Rule changes
ruff] Ensure closing parentheses for multiline sequences are always on their own line (RUF022,RUF023) (#9793)numpy] Add missing deprecation violations (NPY002) (#9862)flake8-bandit] Detectmark_safeusages in decorators (#9887)ruff] Expandasyncio-dangling-task(RUF006) to includenew_event_loop(#9976)flake8-pyi] Ignore 'unused' private type dicts in class scopes (#9952)Formatter
indent-style=tabs(#9915)preservemode (#9922)CLI
Bug fixes
show-settingsfilters directory-agnostic (#9866)DebugText(#9953)flake8-simplify] Avoid false positive withasyncfor loops (SIM113) (#9996)flake8-trio] Respectasync withintimeout-without-await(#9859)perflint] Catch a wider range of mutations inPERF101(#9955)pycodestyle] FixE30Xpanics on blank lines with trailing white spaces (#9907)pydocstyle] Allow usingparametersas a subsection header (D405) (#9894)pydocstyle] Fix blank-line docstring rules for module-level docstrings (#9878)pylint] Accept 0.0 and 1.0 as common magic values (PLR2004) (#9964)pylint] Avoid suggesting set rewrites for non-hashable types (#9956)ruff] Avoid false negatives with string literals inside of method calls (RUF027) (#9865)ruff] Fix panic on with f-string detection (RUF027) (#9990)ruff] Ignore builtins when detecting missing f-strings (#9849)Performance
memchrfor string lexing (#9888)memchrfor tab-indentation detection (#9853)Result<Tok, LexicalError>size by usingBox<str>instead ofString(#9885)Exprfrom 80 to 64 bytes (#9900)Configuration
📅 Schedule: Branch creation - "before 6am every weekday" in timezone Europe/Amsterdam, 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.