Skip to content

Training preparation #33

Training preparation

Training preparation #33

Triggered via pull request December 23, 2024 09:21
Status Failure
Total duration 1m 29s
Artifacts 2

linting.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

15 errors and 4 warnings
lint / flake8
Process completed with exit code 1.
lint / pylint
Process completed with exit code 16.
lint / ruff
Files have changed.
lint / ruff
Process completed with exit code 1.
Ruff (D212): m.neural_network.preparetraining.worker/m.neural_network.preparetraining.worker.py#L2
m.neural_network.preparetraining.worker/m.neural_network.preparetraining.worker.py:2:1: D212 Multi-line docstring summary should start at the first line
Ruff (D400): m.neural_network.preparetraining.worker/m.neural_network.preparetraining.worker.py#L2
m.neural_network.preparetraining.worker/m.neural_network.preparetraining.worker.py:2:1: D400 First line should end with a period
Ruff (D415): m.neural_network.preparetraining.worker/m.neural_network.preparetraining.worker.py#L2
m.neural_network.preparetraining.worker/m.neural_network.preparetraining.worker.py:2:1: D415 First line should end with a period, question mark, or exclamation point
Ruff (I001): m.neural_network.preparetraining.worker/m.neural_network.preparetraining.worker.py#L87
m.neural_network.preparetraining.worker/m.neural_network.preparetraining.worker.py:87:1: I001 Import block is un-sorted or un-formatted
Ruff (ANN201): m.neural_network.preparetraining.worker/m.neural_network.preparetraining.worker.py#L101
m.neural_network.preparetraining.worker/m.neural_network.preparetraining.worker.py:101:5: ANN201 Missing return type annotation for public function `cleanup`
Ruff (ANN201): m.neural_network.preparetraining.worker/m.neural_network.preparetraining.worker.py#L115
m.neural_network.preparetraining.worker/m.neural_network.preparetraining.worker.py:115:5: ANN201 Missing return type annotation for public function `main`
Ruff (D401): m.neural_network.preparetraining.worker/m.neural_network.preparetraining.worker.py#L116
m.neural_network.preparetraining.worker/m.neural_network.preparetraining.worker.py:116:5: D401 First line of docstring should be in imperative mood: "main function of worker module."
Ruff (D403): m.neural_network.preparetraining.worker/m.neural_network.preparetraining.worker.py#L116
m.neural_network.preparetraining.worker/m.neural_network.preparetraining.worker.py:116:5: D403 First word of the first line should be capitalized: `main` -> `Main`
Ruff (F841): m.neural_network.preparetraining.worker/m.neural_network.preparetraining.worker.py#L127
m.neural_network.preparetraining.worker/m.neural_network.preparetraining.worker.py:127:22: F841 Local variable `old_mapset` is assigned to but never used
Ruff (RUF005): m.neural_network.preparetraining.worker/m.neural_network.preparetraining.worker.py#L162
m.neural_network.preparetraining.worker/m.neural_network.preparetraining.worker.py:162:29: RUF005 Consider `[*class_values, no_class_value]` instead of concatenation
lint / ruff
Process completed with exit code 1.
lint / flake8
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
lint / pylint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
lint / black
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
lint / super-linter
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636

Artifacts

Produced during runtime
Name Size
diff Expired
1.33 KB
formatted-ruff Expired
7.96 KB