chore(deps): update dependency ruff to v0.1.4 #451
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.2
->==0.1.4
Release Notes
astral-sh/ruff (ruff)
v0.1.4
Compare Source
Preview features
flake8-trio
] Implementtimeout-without-await
(TRIO001
) (#8439)numpy
] Implement NumPy 2.0 migration rule (NPY200
) (#7702)pylint
] Implementbad-open-mode
(W1501
) (#8294)pylint
] Implementimport-outside-toplevel
(C0415
) rule (#5180)pylint
] Implementuseless-with-lock
(W2101
) (#8321)pyupgrade
] Implementtimeout-error-alias
(UP041
) (#8476)refurb
] Implementisinstance-type-none
(FURB168
) (#8308)RUF001
,RUF002
, andRUF003
(#4430)Formatter
fmt: skip
(#8273)fmt: off
(#8275)--line-length
option toformat
command (#8363)CLI
--output-format
toruff rule
andruff linter
(#8203)Bug fixes
--force-exclude
inlint.exclude
andformat.exclude
(#8393)--extend-per-file-ignores
on the CLI (#8329)bad-dunder-method-name
to permit__index__
(#8300)D300
when both triple quote styles are present (#8462)FStringRanges
(#8154)shell=True
for truthy, non-True
diagnostics (#8359)NamedTuple
rewrite with starred annotation (#8434)PLE1307
was raised when formatting%c
with characters (#8407)fixedOverflowWidgets
for playground popover (#8458)byte_bounds
as a non-backwards-compatible NumPy 2.0 change (#8474)Internals
--fix
and--diff
(#8316)v0.1.3
Compare Source
This release includes a variety of improvements to the Ruff formatter, removing several known and
unintentional deviations from Black.
Formatter
None
,True
andFalse
(#8189)isort
settings (#8192)isort.force-single-line
is true (#8244)SourceKind::diff
for formatter (#8240)fmt:off
with trailing child comment (#8234)IpyEscapeCommand
(#8207)Linter
pylint
] Add buffer methods tobad-dunder-method-name
(PLW3201
) exclusions (#8190)external
codes setting inunused-noqa
(#8177)line-length
setting for isort in lieu ofpycodestyle.max-line-length
(#8235)unnecessary-paren-on-raise-exception
to unsafe for unknown types (#8231)W605
(#8255)Documentation
unused-noqa
(#8172)external
option tounused-noqa
documentation (#8171)magic-trailing-comma
option in README (#8200)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.