Skip to content

Fix tests

Fix tests #72

Triggered via push January 31, 2024 15:40
Status Failure
Total duration 50s
Artifacts

tests.yaml

on: push
Matrix: ubuntu
Fit to window
Zoom out
Zoom in

Annotations

1 error, 4 warnings, and 22 notices
ubuntu (ubuntu-latest)
Process completed with exit code 1.
ubuntu (ubuntu-latest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/setup-python@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
ubuntu (ubuntu-latest)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, 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/
Redeclared names without usages: upsonic_on_prem/dash/app/apps.py#L4
Redeclared 'AppConfig' defined above without usage
Unbound local variables: upsonic_on_prem/utils/db/__init__.py#L45
Name 'storage' can be undefined
Unclear exception clauses: upsonic_on_prem/main.py#L31
Too broad exception clause
Unclear exception clauses: upsonic_on_prem/utils/db/__init__.py#L40
Too broad exception clause
Unclear exception clauses: upsonic_on_prem/utils/db/__init__.py#L26
Too broad exception clause
Class has no `__init__` method: upsonic_on_prem/main.py#L18
Class has no __init__ method
Using equality operators to compare with None: upsonic_on_prem/api/pre_process/__init__.py#L19
Comparison with None performed with equality operators
Global variable is not defined at the module level: upsonic_on_prem/utils/db/redis.py#L70
Global variable 'redis_password' is undefined at the module level
Global variable is not defined at the module level: upsonic_on_prem/main.py#L26
Global variable 'threads' is undefined at the module level
Global variable is not defined at the module level: upsonic_on_prem/main.py#L22
Global variable 'threads' is undefined at the module level
Method is not declared static: upsonic_on_prem/utils/db/redis.py#L74
Method `service_restart` may be 'static'
Method is not declared static: upsonic_on_prem/main.py#L21
Method `app` may be 'static'
Method is not declared static: upsonic_on_prem/main.py#L25
Method `api` may be 'static'
Improper first parameter: upsonic_on_prem/main.py#L25
Did not you mean 'self'?
PEP 8 naming convention violation: upsonic_on_prem/utils/db/redis.py#L12
Class names should use CapWords convention
PEP 8 naming convention violation: upsonic_on_prem/main.py#L18
Class names should use CapWords convention
PEP 8 naming convention violation: upsonic_on_prem/utils/db/redis.py#L57
Class names should use CapWords convention
Redundant parentheses: upsonic_on_prem/utils/db/redis.py#L12
Remove redundant parentheses
Unused local symbols: upsonic_on_prem/main.py#L21
Parameter 'host' value is not used
Unused local symbols: upsonic_on_prem/api/pre_process/admin.py#L1
Parameter 'request' value is not used
Unused local symbols: upsonic_on_prem/api/pre_process/admin.py#L1
Parameter 'the_access_key' value is not used
Unused local symbols: upsonic_on_prem/api/pre_process/__init__.py#L65
Local variable 'pre_processor' value is not used
Unused local symbols: upsonic_on_prem/main.py#L21
Parameter 'port' value is not used
Unused local symbols: upsonic_on_prem/api/pre_process/user.py#L8
Local variable 'operation_type' value is not used