⬆️ Update dependency ruff to v0.1.3 #1145
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.1.1->0.1.3Release Notes
astral-sh/ruff (ruff)
v0.1.3Compare Source
This release includes a variety of improvements to the Ruff formatter, removing several known and
unintentional deviations from Black.
Formatter
None,TrueandFalse(#8189)isortsettings (#8192)isort.force-single-lineis true (#8244)SourceKind::difffor formatter (#8240)fmt:offwith trailing child comment (#8234)IpyEscapeCommand(#8207)Linter
pylint] Add buffer methods tobad-dunder-method-name(PLW3201) exclusions (#8190)externalcodes setting inunused-noqa(#8177)line-lengthsetting for isort in lieu ofpycodestyle.max-line-length(#8235)unnecessary-paren-on-raise-exceptionto unsafe for unknown types (#8231)W605(#8255)Documentation
unused-noqa(#8172)externaloption tounused-noqadocumentation (#8171)magic-trailing-commaoption in README (#8200)v0.1.2Compare Source
This release includes the Beta version of the Ruff formatter — an extremely fast, Black-compatible Python formatter.
Try it today with
ruff format! Check out the blog post and read the docs.Preview features
pylint] Implementnon-ascii-module-import(C2403) (#8056)pylint] implementnon-ascii-name(C2401) (#8038)pylint] Implement unnecessary-lambda (W0108) (#7953)refurb] Implementread-whole-file(FURB101) (#7682)E223,E224, andE242(#8143)E225,E226,E227, andE228(#8136)E252(#8142)E261(#8114)E273andE274(#8144)E275(#8133)SIM401to catch ternary operations (#7415)E721to allowisandisnot for direct type comparisons (#7905)Rule changes
backports.strenumtodeprecated-imports(#8113)SIM112to ignorehttps_proxy,http_proxy, andno_proxy(#8140)literal-membership(PLR6201) to be unsafe (#8097)mutable-argument-defaults(B006) to be unsafe (#8108)Formatter
line-endingdefault toauto(#8057)has_own_parentheses(#8100)--line-lengthoption fromformatcommand (#8131)line-lengthdocumentation (#8150)CLI
ruff formatcommand in help menus (#8167)ruff versioncommand with long version display (#8034)Configuration
pycodestyle.max-line-lengthoption (#8039)Bug fixes
sys.version_infoslices inoutdated-version-block(#8112)TYPE_CHECKINGblocks (#8072)Documentation
too-many-argumentslint (#8092)extend-unsafe-fixesandextend-safe-fixesexample (#8139)flake8-import-conventionsoptions (#8115)OptionsJSON schema description (#8081)pytext->pytest) (#8117)magic-value-comparisonexample in docs (#8111)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.