Skip to content

Fix binary search duplicates #17168

Fix binary search duplicates

Fix binary search duplicates #17168

Triggered via pull request March 2, 2026 17:41
Status Failure
Total duration 17s
Artifacts

ruff.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
ruff (W293): tests/test_binary_search_issue.py#L26
tests/test_binary_search_issue.py:26:1: W293 Blank line contains whitespace help: Remove whitespace from blank line
ruff (W291): tests/test_binary_search_issue.py#L21
tests/test_binary_search_issue.py:21:67: W291 Trailing whitespace help: Remove trailing whitespace
ruff (W291): tests/test_binary_search_issue.py#L16
tests/test_binary_search_issue.py:16:25: W291 Trailing whitespace help: Remove trailing whitespace
ruff (I001): tests/test_binary_search_issue.py#L1
tests/test_binary_search_issue.py:1:1: I001 Import block is un-sorted or un-formatted help: Organize imports
ruff (INP001): tests/test_binary_search_issue.py#L1
tests/test_binary_search_issue.py:1:1: INP001 File `tests/test_binary_search_issue.py` is part of an implicit namespace package. Add an `__init__.py`.
ruff (UP047): searches/jump_search.py#L23
searches/jump_search.py:23:5: UP047 Generic function `jump_search` should use type parameters help: Use type parameters
ruff (W292): searches/binary_search.py#L118
searches/binary_search.py:118:5: W292 No newline at end of file help: Add trailing newline
ruff (W293): searches/binary_search.py#L118
searches/binary_search.py:118:1: W293 Blank line contains whitespace help: Remove whitespace from blank line
ruff (UP047): machine_learning/linear_discriminant_analysis.py#L255
machine_learning/linear_discriminant_analysis.py:255:5: UP047 Generic function `valid_input` should use type parameters help: Use type parameters
ruff (RUF037): data_structures/hashing/hash_table_with_linked_list.py#L11
data_structures/hashing/hash_table_with_linked_list.py:11:28: RUF037 Unnecessary empty iterable within a deque call help: Replace with `deque()`