Training preparation #36
Annotations
13 errors
Create and upload code suggestions to apply for ruff
Files have changed.
|
Create and upload code suggestions to apply for ruff
Process completed with exit code 1.
|
Run ruff (output annotations on fixable errors):
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
|
Run ruff (output annotations on fixable errors):
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
|
Run ruff (output annotations on fixable errors):
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: D400 First line should end with a period
|
Run ruff (output annotations on fixable errors):
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: D415 First line should end with a period, question mark, or exclamation point
|
Run ruff (output annotations on fixable errors):
m.neural_network.preparetraining.worker/m.neural_network.preparetraining.worker.py#L126
m.neural_network.preparetraining.worker/m.neural_network.preparetraining.worker.py:126:22: F841 Local variable `old_mapset` is assigned to but never used
|
Run ruff (output annotations on fixable errors):
m.neural_network.preparetraining.worker/m.neural_network.preparetraining.worker.py#L174
m.neural_network.preparetraining.worker/m.neural_network.preparetraining.worker.py:174:61: UP034 Avoid extraneous parentheses
|
Run ruff (output annotations on fixable errors):
m.neural_network.preparetraining/m.neural_network.preparetraining.py#L1
m.neural_network.preparetraining/m.neural_network.preparetraining.py:1:1: D100 Missing docstring in public module
|
Run ruff (output annotations on fixable errors):
m.neural_network.preparetraining/m.neural_network.preparetraining.py#L95
m.neural_network.preparetraining/m.neural_network.preparetraining.py:95:1: I001 Import block is un-sorted or un-formatted
|
Run ruff (output annotations on fixable errors):
m.neural_network.preparetraining/m.neural_network.preparetraining.py#L127
m.neural_network.preparetraining/m.neural_network.preparetraining.py:127:17: PTH208 Use `pathlib.Path.iterdir()` instead.
|
Run ruff (output annotations on fixable errors):
m.neural_network.preparetraining/m.neural_network.preparetraining.py#L148
m.neural_network.preparetraining/m.neural_network.preparetraining.py:148:24: PTH113 `os.path.isfile()` should be replaced by `Path.is_file()`
|
Run ruff (apply fixes for suggestions)
Process completed with exit code 1.
|
Loading