Skip to content

🚑️ (src/db_redis): fix empty request check #26

🚑️ (src/db_redis): fix empty request check

🚑️ (src/db_redis): fix empty request check #26

Triggered via pull request October 17, 2024 08:32
Status Success
Total duration 24s
Artifacts

docker-build.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

48 errors
tests.py#L1
Missing module docstring (missing-module-docstring, C0114)
tests.py#L8
Missing function or method docstring (missing-function-docstring, C0116)
tests.py#L19
Missing function or method docstring (missing-function-docstring, C0116)
tests.py#L5
Third party import "dotenv.load_dotenv" should be placed before first party import "src.db_redis.DBManager" (wrong-import-order, C0411)
src/__init__.py#L1
Missing module docstring (missing-module-docstring, C0114)
src/app.py#L45
Line too long (110/100) (line-too-long, C0301)
src/app.py#L1
Missing module docstring (missing-module-docstring, C0114)
src/app.py#L42
Use lazy % formatting in logging functions (logging-fstring-interpolation, W1203)
src/app.py#L66
Access to a protected member _registry of a client class (protected-access, W0212)
src/db_redis.py#L120
Line too long (102/100) (line-too-long, C0301)
src/db_redis.py#L184
Line too long (104/100) (line-too-long, C0301)
src/db_redis.py#L237
Trailing whitespace (trailing-whitespace, C0303)
src/db_redis.py#L1
Missing module docstring (missing-module-docstring, C0114)
src/db_redis.py#L5
Missing class docstring (missing-class-docstring, C0115)
src/db_redis.py#L9
Attribute name "REDIS_IP" doesn't conform to snake_case naming style (invalid-name, C0103)
src/db_redis.py#L10
Attribute name "REDIS_PASSWORD" doesn't conform to snake_case naming style (invalid-name, C0103)
src/db_redis.py#L5
Too many instance attributes (8/7) (too-many-instance-attributes, R0902)
src/db_redis.py#L93
Missing function or method docstring (missing-function-docstring, C0116)
src/db_redis.py#L115
Missing function or method docstring (missing-function-docstring, C0116)
src/db_redis.py#L132
Missing function or method docstring (missing-function-docstring, C0116)
src/db_redis.py#L154
Missing function or method docstring (missing-function-docstring, C0116)
src/db_redis.py#L191
Missing function or method docstring (missing-function-docstring, C0116)
src/db_redis.py#L215
Missing function or method docstring (missing-function-docstring, C0116)
src/db.py#L9
Line too long (101/100) (line-too-long, C0301)
src/db.py#L10
Line too long (101/100) (line-too-long, C0301)
src/db.py#L184
Line too long (101/100) (line-too-long, C0301)
src/db.py#L187
Line too long (101/100) (line-too-long, C0301)
src/db.py#L220
Line too long (134/100) (line-too-long, C0301)
src/db.py#L60
TODO: potrebbe essere migliorato usando un file SQL che definisce la struttura (fixme, W0511)
src/db.py#L251
TODO: 'else' dovrebbe ritornare {} (dict vuoto) (fixme, W0511)
src/db.py#L1
Missing module docstring (missing-module-docstring, C0114)
src/db.py#L280
No value for argument 'app' in constructor call (no-value-for-parameter, E1120)
src/routes.py#L70
TODO: choose better Exception (fixme, W0511)
src/routes.py#L1
Missing module docstring (missing-module-docstring, C0114)
src/routes.py#L6
Missing function or method docstring (missing-function-docstring, C0116)
src/routes.py#L9
Use lazy % formatting in logging functions (logging-fstring-interpolation, W1203)
src/routes.py#L27
Use lazy % formatting in logging functions (logging-fstring-interpolation, W1203)
src/routes.py#L32
Use lazy % formatting in logging functions (logging-fstring-interpolation, W1203)
src/routes.py#L48
Use lazy % formatting in logging functions (logging-fstring-interpolation, W1203)
src/routes.py#L56
Missing function or method docstring (missing-function-docstring, C0116)
src/routes.py#L66
Missing function or method docstring (missing-function-docstring, C0116)
src/routes.py#L70
Catching too general exception Exception (broad-exception-caught, W0718)
src/routes.py#L76
Use lazy % formatting in logging functions (logging-fstring-interpolation, W1203)
src/routes.py#L84
Missing function or method docstring (missing-function-docstring, C0116)
src/routes.py#L87
Use lazy % formatting in logging functions (logging-fstring-interpolation, W1203)
src/routes.py#L98
Missing function or method docstring (missing-function-docstring, C0116)
src/config.py#L1
Missing module docstring (missing-module-docstring, C0114)
src/config.py#L2
Unused import json (unused-import, W0611)