Update example project #50
Annotations
11 errors and 1 warning
Run ruff (output annotations on fixable errors):
src/actinia_example_plugin/api/__init__.py#L1
src/actinia_example_plugin/api/__init__.py:1:1: D104 Missing docstring in public package
|
Run ruff (output annotations on fixable errors):
src/actinia_example_plugin/api/project_helloworld.py#L44
src/actinia_example_plugin/api/project_helloworld.py:44:19: ANN001 Missing type annotation for function argument `project_name`
|
Run ruff (output annotations on fixable errors):
src/actinia_example_plugin/api/project_helloworld.py#L50
src/actinia_example_plugin/api/project_helloworld.py:50:20: ANN001 Missing type annotation for function argument `project_name`
|
Run ruff (output annotations on fixable errors):
src/actinia_example_plugin/apidocs/__init__.py#L1
src/actinia_example_plugin/apidocs/__init__.py:1:1: D104 Missing docstring in public package
|
Run ruff (output annotations on fixable errors):
src/actinia_example_plugin/core/__init__.py#L1
src/actinia_example_plugin/core/__init__.py:1:1: D104 Missing docstring in public package
|
Run ruff (output annotations on fixable errors):
src/actinia_example_plugin/endpoints.py#L53
src/actinia_example_plugin/endpoints.py:53:22: ANN001 Missing type annotation for function argument `flask_api`
|
Run ruff (output annotations on fixable errors):
src/actinia_example_plugin/model/__init__.py#L1
src/actinia_example_plugin/model/__init__.py:1:1: D104 Missing docstring in public package
|
Run ruff (output annotations on fixable errors):
src/actinia_example_plugin/model/response_models.py#L33
src/actinia_example_plugin/model/response_models.py:33:18: RUF012 Mutable class attributes should be annotated with `typing.ClassVar`
|
Run ruff (output annotations on fixable errors):
src/actinia_example_plugin/model/response_models.py#L43
src/actinia_example_plugin/model/response_models.py:43:16: RUF012 Mutable class attributes should be annotated with `typing.ClassVar`
|
Run ruff (output annotations on fixable errors):
src/actinia_example_plugin/model/response_models.py#L46
src/actinia_example_plugin/model/response_models.py:46:1: N816 Variable `simpleResponseExample` in global scope should not be mixedCase
|
Run ruff (apply fixes for suggestions)
Process completed with exit code 1.
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Loading