Skip to content

Add Python solutions for Search Insert Position and Search Range #15194

Add Python solutions for Search Insert Position and Search Range

Add Python solutions for Search Insert Position and Search Range #15194

Triggered via pull request October 11, 2025 07:02
Status Failure
Total duration 11s
Artifacts

ruff.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
Ruff (UP006): data_structures/Binary search algo/search_range.py#L3
data_structures/Binary search algo/search_range.py:3:51: UP006 Use `list` instead of `List` for type annotation
Ruff (UP006): data_structures/Binary search algo/search_range.py#L3
data_structures/Binary search algo/search_range.py:3:24: UP006 Use `list` instead of `List` for type annotation
Ruff (I001): data_structures/Binary search algo/search_range.py#L1
data_structures/Binary search algo/search_range.py:1:1: I001 Import block is un-sorted or un-formatted
Ruff (UP035): data_structures/Binary search algo/search_range.py#L1
data_structures/Binary search algo/search_range.py:1:1: UP035 `typing.List` is deprecated, use `list` instead
Ruff (INP001): data_structures/Binary search algo/search_range.py#L1
data_structures/Binary search algo/search_range.py:1:1: INP001 File `data_structures/Binary search algo/search_range.py` is part of an implicit namespace package. Add an `__init__.py`.
Ruff (W292): data_structures/Binary search algo/search_insert_position.py#L27
data_structures/Binary search algo/search_insert_position.py:27:16: W292 No newline at end of file
Ruff (UP006): data_structures/Binary search algo/search_insert_position.py#L3
data_structures/Binary search algo/search_insert_position.py:3:25: UP006 Use `list` instead of `List` for type annotation
Ruff (I001): data_structures/Binary search algo/search_insert_position.py#L1
data_structures/Binary search algo/search_insert_position.py:1:1: I001 Import block is un-sorted or un-formatted
Ruff (UP035): data_structures/Binary search algo/search_insert_position.py#L1
data_structures/Binary search algo/search_insert_position.py:1:1: UP035 `typing.List` is deprecated, use `list` instead
Ruff (INP001): data_structures/Binary search algo/search_insert_position.py#L1
data_structures/Binary search algo/search_insert_position.py:1:1: INP001 File `data_structures/Binary search algo/search_insert_position.py` is part of an implicit namespace package. Add an `__init__.py`.