⬆️ Update dependency ruff to v0.1.0 #1128
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.0.292->0.1.0Release Notes
astral-sh/ruff (ruff)
v0.1.0Compare Source
Breaking changes
formatsetting has been removed (#7984)formatsetting cannot be used to configure the output format, useoutput-formatinsteadRUFF_FORMATenvironment variable is ignored, useRUFF_OUTPUT_FORMATinstead--formatoption has been removed fromruff check, use--output-formatinsteadRule changes
reimplemented-starmap(FURB140) to catch calls with a single and starred argument (#7768)RUF015(#7848)SIM15to allowopenfollowed byclose(#7916)msgspec.Structdefault-copy semantics inRUF012(#7786)sqlalchemymethods to `flake8-boolean-trap`` exclusion list (#7874)PLR1714(#7910)PIE804(#7884)PLC0208(#7887)PYI055(#7886)non-pep695-type-aliasto require--unsafe-fixesoutside of stub files (#7836)UP018(#7913)PLW3201to supportEnumsunder names (#7987)Preview features
unnecessary-key-checkto simplifykey in dct and dct[key]todct.get(key)(#7895)assignment-in-assertto prevent walrus expressions in assert statements (#7856)refurb] Addsingle-item-membership-test(FURB171) (#7815)pylint] Addand-or-ternary(R1706) (#7811)New rules are added in preview.
Configuration
unsafe-fixessetting (#7769)extend-safe-fixesandextend-unsafe-fixesfor promoting and demoting fixes (#7841)CLI
--unsafe-fixesoption for opt-in to display and apply unsafe fixes (#7769)--formatoption in warning (#7837)--check(#7788)check --diffto include unsafe fix hints (#7790)cellfield to JSON output format (#7664)Safe,Unsafe, andDisplay(#7843)Bug fixes
SIM110with a yield in the condition (#7801)C414fixes (#7775)unnecessary-enumeratelensuggestion (#7781)SIM101(#7798)E251false positive inside f-strings (#7894)stdin(#7789)ruff rule(#7812)--unfixableinISCrules (#7917)PIE804(#7922)PTH118forPath.joinpathwith starred arguments (#7852)outdated-version-blockwhen using greater than comparisons (#7920)gettextcalls (#7898)PLR6301(#7933)TCH004(#7968)cache-dirrelative to project root (#7962)TCH003(#7954)line-length(#7883)coalescekeyword (#7876)Documentation
reimplemented-starmapperformance effects (#7846)PLR6301(#7831)UP038docs to note that it results in slower code (#7872)unnecessary-subscript-reversal(#7774)FURB177example (#7832)Formatter
ruff formatmessage (#7867)ruff_python_formattergenerate.py comment (#7850)Playground
Quick Fixaction (#7824)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.