Refactor user-facing API models #433
Merged
Annotations
5 errors and 10 warnings
api/db.py#L13
Unable to import 'kernelci.api.models'
|
api/main.py#L30
Unable to import 'kernelci.api.models'
|
api/models.py#L31
Unable to import 'kernelci.api.models_base'
|
tests/e2e_tests/conftest.py#L16
Unable to import 'kernelci.api.models'
|
tests/unit_tests/test_node_handler.py#L16
Unable to import 'kernelci.api.models'
|
|
|
api/admin.py#L23
Argument name "db" doesn't conform to snake_case naming style
|
api/admin.py#L49
Missing function or method docstring
|
api/admin.py#L49
Redefining name 'args' from outer scope (line 67)
|
api/admin.py#L50
Variable name "db" doesn't conform to snake_case naming style
|
tests/e2e_tests/conftest.py#L16
third party import "from kernelci.api.models import Node, Regression" should be placed before "from api.main import versioned_app"
|
tests/unit_tests/test_node_handler.py#L16
third party import "from kernelci.api.models import Node, Revision" should be placed before "from tests.unit_tests.conftest import BEARER_TOKEN"
|
tests/unit_tests/test_whoami_handler.py#L1
Similar lines in 2 files
|
tests/unit_tests/test_whoami_handler.py#L1
Similar lines in 2 files
|
The logs for this run have expired and are no longer available.
Loading