Skip to content

m.neural_network.preparedata: prepare data to create training data set #13

m.neural_network.preparedata: prepare data to create training data set

m.neural_network.preparedata: prepare data to create training data set #13

Triggered via pull request December 18, 2024 15:25
Status Failure
Total duration 1m 34s
Artifacts 2

linting.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

14 errors and 4 warnings
lint / pylint
Process completed with exit code 16.
lint / ruff
Files have changed.
lint / ruff
Process completed with exit code 1.
Ruff (D205): m.neural_network.preparedata.worker_export/m.neural_network.preparedata.worker_export.py#L2
m.neural_network.preparedata.worker_export/m.neural_network.preparedata.worker_export.py:2:1: D205 1 blank line required between summary line and description
Ruff (E501): m.neural_network.preparedata.worker_export/m.neural_network.preparedata.worker_export.py#L59
m.neural_network.preparedata.worker_export/m.neural_network.preparedata.worker_export.py:59:80: E501 Line too long (87 > 79)
Ruff (PLR0912): m.neural_network.preparedata.worker_export/m.neural_network.preparedata.worker_export.py#L110
m.neural_network.preparedata.worker_export/m.neural_network.preparedata.worker_export.py:110:5: PLR0912 Too many branches (13 > 12)
Ruff (PLR0915): m.neural_network.preparedata.worker_export/m.neural_network.preparedata.worker_export.py#L110
m.neural_network.preparedata.worker_export/m.neural_network.preparedata.worker_export.py:110:5: PLR0915 Too many statements (58 > 50)
Ruff (PLR0914): m.neural_network.preparedata.worker_export/m.neural_network.preparedata.worker_export.py#L110
m.neural_network.preparedata.worker_export/m.neural_network.preparedata.worker_export.py:110:5: PLR0914 Too many local variables (22/15)
Ruff (PTH112): m.neural_network.preparedata.worker_export/m.neural_network.preparedata.worker_export.py#L128
m.neural_network.preparedata.worker_export/m.neural_network.preparedata.worker_export.py:128:12: PTH112 `os.path.isdir()` should be replaced by `Path.is_dir()`
Ruff (PTH103): m.neural_network.preparedata.worker_export/m.neural_network.preparedata.worker_export.py#L129
m.neural_network.preparedata.worker_export/m.neural_network.preparedata.worker_export.py:129:9: PTH103 `os.makedirs()` should be replaced by `Path.mkdir(parents=True)`
Ruff (PTH118): m.neural_network.preparedata.worker_export/m.neural_network.preparedata.worker_export.py#L143
m.neural_network.preparedata.worker_export/m.neural_network.preparedata.worker_export.py:143:18: PTH118 `os.path.join()` should be replaced by `Path` with `/` operator
Ruff (PTH118): m.neural_network.preparedata.worker_export/m.neural_network.preparedata.worker_export.py#L156
m.neural_network.preparedata.worker_export/m.neural_network.preparedata.worker_export.py:156:16: PTH118 `os.path.join()` should be replaced by `Path` with `/` operator
Ruff (PTH118): m.neural_network.preparedata.worker_export/m.neural_network.preparedata.worker_export.py#L161
m.neural_network.preparedata.worker_export/m.neural_network.preparedata.worker_export.py:161:20: PTH118 `os.path.join()` should be replaced by `Path` with `/` operator
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
650 Bytes
formatted-ruff Expired
1.82 KB