Enhance Library Sort: key/reverse, gap rebalancing, docs #15114
Annotations
10 errors
|
Ruff (N806):
sorts/library_sort.py#L94
sorts/library_sort.py:94:5: N806 Variable `A_keys` in function should be lowercase
|
|
Ruff (UP006):
sorts/library_sort.py#L87
sorts/library_sort.py:87:17: UP006 Use `tuple` instead of `Tuple` for type annotation
|
|
Ruff (UP006):
sorts/library_sort.py#L87
sorts/library_sort.py:87:12: UP006 Use `list` instead of `List` for type annotation
|
|
Ruff (UP006):
sorts/library_sort.py#L53
sorts/library_sort.py:53:6: UP006 Use `list` instead of `List` for type annotation
|
|
Ruff (UP045):
sorts/library_sort.py#L50
sorts/library_sort.py:50:10: UP045 Use `X | None` for type annotations
|
|
Ruff (I001):
sorts/library_sort.py#L44
sorts/library_sort.py:44:1: I001 Import block is un-sorted or un-formatted
|
|
Ruff (UP035):
sorts/library_sort.py#L44
sorts/library_sort.py:44:1: UP035 `typing.Tuple` is deprecated, use `tuple` instead
|
|
Ruff (UP035):
sorts/library_sort.py#L44
sorts/library_sort.py:44:1: UP035 `typing.List` is deprecated, use `list` instead
|
|
Ruff (UP035):
sorts/library_sort.py#L44
sorts/library_sort.py:44:1: UP035 Import from `collections.abc` instead: `Callable`, `Iterable`
|
|
Ruff (RUF002):
sorts/library_sort.py#L36
sorts/library_sort.py:36:12: RUF002 Docstring contains ambiguous `’` (RIGHT SINGLE QUOTATION MARK). Did you mean ``` (GRAVE ACCENT)?
|