Add sliding window maximum using monotonic deque #16819
Annotations
8 errors
|
ruff
Process completed with exit code 1.
|
|
Ruff (W292):
other/sliding_window_maximum.py#L59
other/sliding_window_maximum.py:59:18: W292 No newline at end of file
|
|
Ruff (UP006):
other/sliding_window_maximum.py#L42
other/sliding_window_maximum.py:42:18: UP006 Use `collections.deque` instead of `Deque` for type annotation
|
|
Ruff (UP006):
other/sliding_window_maximum.py#L41
other/sliding_window_maximum.py:41:13: UP006 Use `list` instead of `List` for type annotation
|
|
Ruff (UP006):
other/sliding_window_maximum.py#L5
other/sliding_window_maximum.py:5:69: UP006 Use `list` instead of `List` for type annotation
|
|
Ruff (UP006):
other/sliding_window_maximum.py#L5
other/sliding_window_maximum.py:5:37: UP006 Use `list` instead of `List` for type annotation
|
|
Ruff (UP035):
other/sliding_window_maximum.py#L2
other/sliding_window_maximum.py:2:1: UP035 `typing.List` is deprecated, use `list` instead
|
|
Ruff (UP035):
other/sliding_window_maximum.py#L2
other/sliding_window_maximum.py:2:1: UP035 `typing.Deque` is deprecated, use `collections.deque` instead
|