api.admin: fix setup_admin_user
#1643
Annotations
10 warnings
Lint:
api/admin.py#L24
Argument name "db" doesn't conform to snake_case naming style
|
Lint:
api/admin.py#L24
Missing function or method docstring
|
Lint:
api/admin.py#L32
Argument name "db" doesn't conform to snake_case naming style
|
Lint:
api/admin.py#L32
Missing function or method docstring
|
Lint:
api/admin.py#L56
Missing function or method docstring
|
Lint:
api/admin.py#L56
Redefining name 'args' from outer scope (line 76)
|
Lint:
api/admin.py#L57
Variable name "db" doesn't conform to snake_case naming style
|
Lint:
api/admin.py#L60
Unused variable 'user'
|
Lint
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-python@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
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/
|