Skip to content

Add Redis db support #13

Add Redis db support

Add Redis db support #13

Triggered via pull request September 3, 2024 16:00
@ncvescerancvescera
synchronize #18
redis
Status Success
Total duration 36s
Billable time 1m
Artifacts

lint.yml

on: pull_request
Run linters
25s
Run linters
Fit to window
Zoom out
Zoom in

Annotations

40 errors and 1 warning
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/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#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#L22
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#L43
Use lazy % formatting in logging functions (logging-fstring-interpolation, W1203)
src/routes.py#L51
Missing function or method docstring (missing-function-docstring, C0116)
src/routes.py#L58
Missing function or method docstring (missing-function-docstring, C0116)
src/routes.py#L62
Use lazy % formatting in logging functions (logging-fstring-interpolation, W1203)
src/routes.py#L70
Missing function or method docstring (missing-function-docstring, C0116)
src/routes.py#L73
Use lazy % formatting in logging functions (logging-fstring-interpolation, W1203)
src/db_redis.py#L156
Line too long (104/100) (line-too-long, C0301)
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#L80
Missing function or method docstring (missing-function-docstring, C0116)
src/db_redis.py#L102
Missing function or method docstring (missing-function-docstring, C0116)
src/db_redis.py#L113
Missing function or method docstring (missing-function-docstring, C0116)
src/db_redis.py#L133
Missing function or method docstring (missing-function-docstring, C0116)
src/db_redis.py#L163
Missing function or method docstring (missing-function-docstring, C0116)
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#L49
Use lazy % formatting in logging functions (logging-fstring-interpolation, W1203)
src/config.py#L1
Missing module docstring (missing-module-docstring, C0114)
Run linters
The following actions use a deprecated Node.js version and will be forced to run on node20: wearerequired/lint-action@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/