Merge branch 'main' into file-application-support #5
Annotations
10 errors
Ruff (N805):
benchmark/benchmark.py#L23
benchmark/benchmark.py:23:9: N805 First argument of a method should be named `self`
|
Ruff (FA100):
benchmark/benchmark.py#L23
benchmark/benchmark.py:23:21: FA100 Add `from __future__ import annotations` to simplify `typing.List`
|
Ruff (FA100):
benchmark/benchmark.py#L23
benchmark/benchmark.py:23:53: FA100 Add `from __future__ import annotations` to simplify `typing.List`
|
Ruff (FA100):
benchmark/benchmark.py#L24
benchmark/benchmark.py:24:10: FA100 Add `from __future__ import annotations` to simplify `typing.List`
|
Ruff (ANN202):
benchmark/benchmark.py#L25
benchmark/benchmark.py:25:13: ANN202 Missing return type annotation for private function `construct_binary_preds`
|
Ruff (FA100):
benchmark/benchmark.py#L25
benchmark/benchmark.py:25:48: FA100 Add `from __future__ import annotations` to simplify `typing.List`
|
Ruff (FA100):
benchmark/benchmark.py#L25
benchmark/benchmark.py:25:76: FA100 Add `from __future__ import annotations` to simplify `typing.List`
|
Ruff (S301):
benchmark/benchmark.py#L42
benchmark/benchmark.py:42:26: S301 `pickle` and modules that wrap it can be unsafe when used to deserialize untrusted data, possible security issue
|
Ruff (BLE001):
benchmark/benchmark.py#L46
benchmark/benchmark.py:46:20: BLE001 Do not catch blind exception: `Exception`
|
Ruff (ERA001):
benchmark/benchmark.py#L49
benchmark/benchmark.py:49:17: ERA001 Found commented-out code
|