Skip to content

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

Add Python solutions for Search Insert Position and Search Range

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

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

ruff.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

8 errors
ruff
Process completed with exit code 1.
Ruff (UP006): data_structures/Binary search algo/search_range.py#L4
data_structures/Binary search algo/search_range.py:4:51: UP006 Use `list` instead of `List` for type annotation
Ruff (UP006): data_structures/Binary search algo/search_range.py#L4
data_structures/Binary search algo/search_range.py:4:24: UP006 Use `list` instead of `List` for type annotation
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 (UP006): data_structures/Binary search algo/search_insert_position.py#L4
data_structures/Binary search algo/search_insert_position.py:4:25: UP006 Use `list` instead of `List` for type annotation
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`.