Skip to content

Ruff legacy alias #1887

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 8 commits into
base: master
Choose a base branch
from

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`.
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.

1 participant