add ruff.toml #155
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):
src/grass_gis_helpers/__init__.py#L1
src/grass_gis_helpers/__init__.py:1:1: D104 Missing docstring in public package
|
Run ruff (output annotations on fixable errors):
src/grass_gis_helpers/cleanup.py#L1
src/grass_gis_helpers/cleanup.py:1:1: D100 Missing docstring in public module
|
Run ruff (output annotations on fixable errors):
src/grass_gis_helpers/cleanup.py#L19
src/grass_gis_helpers/cleanup.py:19:1: I001 Import block is un-sorted or un-formatted
|
Run ruff (output annotations on fixable errors):
src/grass_gis_helpers/cleanup.py#L27
src/grass_gis_helpers/cleanup.py:27:5: PLR0913 Too many arguments in function definition (14 > 5)
|
Run ruff (output annotations on fixable errors):
src/grass_gis_helpers/cleanup.py#L27
src/grass_gis_helpers/cleanup.py:27:5: PLR0917 Too many positional arguments (14/5)
|
Run ruff (output annotations on fixable errors):
src/grass_gis_helpers/cleanup.py#L27
src/grass_gis_helpers/cleanup.py:27:5: PLR0912 Too many branches (30 > 12)
|
Run ruff (output annotations on fixable errors):
src/grass_gis_helpers/cleanup.py#L27
src/grass_gis_helpers/cleanup.py:27:5: PLR0915 Too many statements (55 > 50)
|
Run ruff (output annotations on fixable errors):
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`
|
Run ruff (output annotations on fixable errors):
src/grass_gis_helpers/cleanup.py#L28
src/grass_gis_helpers/cleanup.py:28:5: ANN001 Missing type annotation for function argument `rm_rasters`
|
Run ruff (output annotations on fixable errors):
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
|
Run ruff (apply fixes for suggestions)
Process completed with exit code 1.
|
Loading