Enhance bubble sort docstrings and type hints #14074
Annotations
6 errors
Run uvx ruff check --output-format=github .
Process completed with exit code 1.
|
Run uvx ruff check --output-format=github .:
sorts/bubble_sort.py#L58
sorts/bubble_sort.py:58:5: UP047 Generic function `bubble_sort_recursive` should use type parameters
|
Run uvx ruff check --output-format=github .:
sorts/bubble_sort.py#L5
sorts/bubble_sort.py:5:5: UP047 Generic function `bubble_sort_iterative` should use type parameters
|
Run uvx ruff check --output-format=github .:
sorts/bubble_sort.py#L1
sorts/bubble_sort.py:1:20: F401 `typing.Sequence` imported but unused
|
Run uvx ruff check --output-format=github .:
sorts/bubble_sort.py#L1
sorts/bubble_sort.py:1:1: I001 Import block is un-sorted or un-formatted
|
Run uvx ruff check --output-format=github .:
sorts/bubble_sort.py#L1
sorts/bubble_sort.py:1:1: UP035 Import from `collections.abc` instead: `Sequence`
|
Loading