Refactor user-facing API models #1760
Annotations
5 errors and 11 warnings
Lint:
api/db.py#L13
Unable to import 'kernelci.api.models'
|
Lint:
api/main.py#L30
Unable to import 'kernelci.api.models'
|
Lint:
api/models.py#L31
Unable to import 'kernelci.api.models_base'
|
Lint:
tests/e2e_tests/test_user_creation.py#L11
Unable to import 'e2e_tests.conftest'
|
Lint:
tests/unit_tests/test_node_handler.py#L16
Unable to import 'kernelci.api.models'
|
Lint
No module named api/paginator_models.py
|
Lint
No module named api/user_models.py
|
Lint
No module named migrations/20221014061654_set_timeout.py
|
Lint:
api/admin.py#L23
Argument name "db" doesn't conform to snake_case naming style
|
Lint:
api/admin.py#L47
Missing function or method docstring
|
Lint:
api/admin.py#L47
Redefining name 'args' from outer scope (line 64)
|
Lint:
api/admin.py#L48
Variable name "db" doesn't conform to snake_case naming style
|
Lint:
migrations/20231102101356_user.py#L1
Module name "20231102101356_user" doesn't conform to snake_case naming style
|
Lint:
migrations/20231102101356_user.py#L14
Constant name "name" doesn't conform to UPPER_CASE naming style
|
Lint:
migrations/20231102101356_user.py#L30
The if statement can be replaced with 'return bool(test)'
|
check (3.10)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|