Skip to content

switch_to_new_mapset changes to enable using existing mapset #153

switch_to_new_mapset changes to enable using existing mapset

switch_to_new_mapset changes to enable using existing mapset #153

Triggered via push December 17, 2024 11:20
Status Failure
Total duration 1m 36s
Artifacts 2

linting.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

16 errors and 4 warnings
lint / flake8
Process completed with exit code 1.
lint / black
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 (D104): src/grass_gis_helpers/__init__.py#L1
src/grass_gis_helpers/__init__.py:1:1: D104 Missing docstring in public package
Ruff (D100): src/grass_gis_helpers/cleanup.py#L1
src/grass_gis_helpers/cleanup.py:1:1: D100 Missing docstring in public module
Ruff (I001): src/grass_gis_helpers/cleanup.py#L19
src/grass_gis_helpers/cleanup.py:19:1: I001 Import block is un-sorted or un-formatted
Ruff (PLR0913): src/grass_gis_helpers/cleanup.py#L27
src/grass_gis_helpers/cleanup.py:27:5: PLR0913 Too many arguments in function definition (14 > 5)
Ruff (PLR0917): src/grass_gis_helpers/cleanup.py#L27
src/grass_gis_helpers/cleanup.py:27:5: PLR0917 Too many positional arguments (14/5)
Ruff (PLR0912): src/grass_gis_helpers/cleanup.py#L27
src/grass_gis_helpers/cleanup.py:27:5: PLR0912 Too many branches (30 > 12)
Ruff (PLR0915): src/grass_gis_helpers/cleanup.py#L27
src/grass_gis_helpers/cleanup.py:27:5: PLR0915 Too many statements (55 > 50)
Ruff (ANN201): src/grass_gis_helpers/cleanup.py#L27
src/grass_gis_helpers/cleanup.py:27:5: ANN201 Missing return type annotation for public function `general_cleanup`
Ruff (ANN001): src/grass_gis_helpers/cleanup.py#L28
src/grass_gis_helpers/cleanup.py:28:5: ANN001 Missing type annotation for function argument `rm_rasters`
Ruff (B006): src/grass_gis_helpers/cleanup.py#L28
src/grass_gis_helpers/cleanup.py:28:16: B006 Do not use mutable data structures for argument defaults
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 / 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.78 KB
formatted-ruff Expired
23.2 KB