Rework models #1783
Annotations
3 errors and 10 warnings
api/db.py#L13
Unable to import 'kernelci.api.models'
|
api/main.py#L30
Unable to import 'kernelci.api.models'
|
tests/unit_tests/test_node_handler.py#L16
Unable to import 'kernelci.api.models'
|
migrations/20231215122000_node_models.py#L1
Module name "20231215122000_node_models" doesn't conform to snake_case naming style
|
migrations/20231215122000_node_models.py#L16
Constant name "name" doesn't conform to UPPER_CASE naming style
|
migrations/20231215122000_node_models.py#L33
The if statement can be replaced with 'return bool(test)'
|
migrations/20231215122000_node_models.py#L33
Unnecessary "else" after "return"
|
migrations/20231215122000_node_models.py#L39
Argument name "db" doesn't conform to snake_case naming style
|
migrations/20231215122000_node_models.py#L39
Missing function or method docstring
|
migrations/20231215122000_node_models.py#L86
Argument name "db" doesn't conform to snake_case naming style
|
migrations/20231215122000_node_models.py#L86
Missing function or method docstring
|
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_node_handler.py#L1
Similar lines in 2 files
|
The logs for this run have expired and are no longer available.
Loading