sorts: type six algorithms for comparable items #19306
Annotations
10 errors
|
ruff (F811):
tests/test_sorts.py#L30
tests/test_sorts.py:30:30: F811 Redefinition of unused `cycle_sort` from line 22: `cycle_sort` redefined here
tests/test_sorts.py:22:30: previous definition of `cycle_sort` here
help: Remove definition: `cycle_sort`
|
|
ruff (F811):
tests/test_sorts.py#L29
tests/test_sorts.py:29:29: F811 Redefinition of unused `comb_sort` from line 21: `comb_sort` redefined here
tests/test_sorts.py:21:29: previous definition of `comb_sort` here
help: Remove definition: `comb_sort`
|
|
ruff (F811):
tests/test_sorts.py#L28
tests/test_sorts.py:28:40: F811 Redefinition of unused `cocktail_shaker_sort` from line 20: `cocktail_shaker_sort` redefined here
tests/test_sorts.py:20:40: previous definition of `cocktail_shaker_sort` here
help: Remove definition: `cocktail_shaker_sort`
|
|
ruff (I001):
tests/test_sorts.py#L17
tests/test_sorts.py:17:1: I001 Import block is un-sorted or un-formatted
help: Organize imports
|
|
ruff (W293):
sorts/gnome_sort.py#L44
sorts/gnome_sort.py:44:1: W293 Blank line contains whitespace
help: Remove whitespace from blank line
|
|
ruff (W293):
sorts/exchange_sort.py#L22
sorts/exchange_sort.py:22:1: W293 Blank line contains whitespace
help: Remove whitespace from blank line
|
|
ruff (W293):
sorts/double_sort.py#L24
sorts/double_sort.py:24:1: W293 Blank line contains whitespace
help: Remove whitespace from blank line
|
|
ruff (W293):
sorts/cycle_sort.py#L29
sorts/cycle_sort.py:29:1: W293 Blank line contains whitespace
help: Remove whitespace from blank line
|
|
ruff (W293):
sorts/comb_sort.py#L44
sorts/comb_sort.py:44:1: W293 Blank line contains whitespace
help: Remove whitespace from blank line
|
|
ruff (W293):
sorts/cocktail_shaker_sort.py#L40
sorts/cocktail_shaker_sort.py:40:1: W293 Blank line contains whitespace
help: Remove whitespace from blank line
|