Add Python solutions for Search Insert Position and Search Range #15195
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`.
|