Skip to content

linting

linting #13

Triggered via push October 4, 2024 16:16
Status Failure
Total duration 15s
Artifacts

linter.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

8 errors
Ruff (UP035): mlclouds/_version.py#L5
mlclouds/_version.py:5:5: UP035 `typing.Tuple` is deprecated, use `tuple` instead
Ruff (UP006): mlclouds/_version.py#L6
mlclouds/_version.py:6:21: UP006 Use `tuple` instead of `Tuple` for type annotation
Ruff (NPY002): mlclouds/autoxval.py#L313
mlclouds/autoxval.py:313:13: NPY002 Replace legacy `np.random.seed` call with `np.random.Generator`
Ruff (NPY002): mlclouds/autoxval.py#L350
mlclouds/autoxval.py:350:17: NPY002 Replace legacy `np.random.shuffle` call with `np.random.Generator`
Ruff (NPY002): mlclouds/data_handlers.py#L466
mlclouds/data_handlers.py:466:9: NPY002 Replace legacy `np.random.seed` call with `np.random.Generator`
Ruff (I001): mlclouds/tdisc.py#L16
mlclouds/tdisc.py:16:1: I001 Import block is un-sorted or un-formatted
Ruff (D103): tests/test_xval.py#L21
tests/test_xval.py:21:5: D103 Missing docstring in public function
Ruff
Process completed with exit code 1.