Skip to content
Triggered via push December 17, 2024 16:37
Status Failure
Total duration 1m 39s
Artifacts 2

linting.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

12 errors and 4 warnings
lint / ruff
Files have changed.
lint / ruff
Process completed with exit code 1.
Ruff (D202): src/grass_gis_helpers/cleanup.py#L43
src/grass_gis_helpers/cleanup.py:43:5: D202 No blank lines allowed after function docstring (found 1)
Ruff (D400): src/grass_gis_helpers/cleanup.py#L43
src/grass_gis_helpers/cleanup.py:43:5: D400 First line should end with a period
Ruff (D415): src/grass_gis_helpers/cleanup.py#L43
src/grass_gis_helpers/cleanup.py:43:5: D415 First line should end with a period, question mark, or exclamation point
Ruff (PLW1514): src/grass_gis_helpers/cleanup.py#L46
src/grass_gis_helpers/cleanup.py:46:15: PLW1514 `open` in text mode without explicit `encoding` argument
Ruff (COM812): src/grass_gis_helpers/cleanup.py#L55
src/grass_gis_helpers/cleanup.py:55:52: COM812 Trailing comma missing
Ruff (RUF019): src/grass_gis_helpers/cleanup.py#L73
src/grass_gis_helpers/cleanup.py:73:12: RUF019 Unnecessary key check before dictionary access
Ruff (COM812): src/grass_gis_helpers/cleanup.py#L76
src/grass_gis_helpers/cleanup.py:76:70: COM812 Trailing comma missing
Ruff (RUF019): src/grass_gis_helpers/cleanup.py#L80
src/grass_gis_helpers/cleanup.py:80:12: RUF019 Unnecessary key check before dictionary access
Ruff (SIM102): src/grass_gis_helpers/cleanup.py#L137
src/grass_gis_helpers/cleanup.py:137:5: SIM102 Use a single `if` statement instead of nested `if` statements
Ruff (D209): src/grass_gis_helpers/cleanup.py#L149
src/grass_gis_helpers/cleanup.py:149:5: D209 Multi-line docstring closing quotes should be on a separate line
lint / flake8
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 / pylint
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
5.04 KB
formatted-ruff Expired
20.7 KB