Skip to content

Conversation

@DimitriPapadopoulos
Copy link
Contributor

Changes:

ruff (legacy alias)......................................................Passed

into:

ruff check...............................................................Passed

SIM910 Use `detail.get(...)` instead of `get(..., None)`
UP006 Use `dict` instead of `Dict` for type annotation
UP006 Use `list` instead of `List` for type annotation
UP006 Use `tuple` instead of `Tuple` for type annotation
UP035 Import from `collections` instead: `OrderedDict`
UP035 Import from `collections.abc` instead: `Iterable`
UP035 Import from `collections.abc` instead: `Iterator`
UP035 Import from `collections.abc` instead: `Mapping`
UP035 Import from `collections.abc` instead: `Sequence`
UP035 `typing.Dict` is deprecated, use `dict` instead
UP035 `typing.List` is deprecated, use `list` instead
UP035 `typing.Tuple` is deprecated, use `tuple` instead
UP036 Version block is outdated for minimum Python version
UP045 Use `X | None` for type annotations
FURB188 Prefer `str.removeprefix()` over conditionally replacing with slice.
Let ruff infer the target version from `project.requires-python`.
@martindurant martindurant merged commit 97e5913 into fsspec:master Jul 15, 2025
10 checks passed
@DimitriPapadopoulos DimitriPapadopoulos deleted the ruff_legacy_alias branch July 15, 2025 19:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants