Skip to content

Project Structure

Project Structure #5

Triggered via pull request July 8, 2024 16:23
Status Success
Total duration 38s
Billable time 1m
Artifacts

lint.yml

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

Annotations

50 errors and 1 warning
src/__init__.py#L1
Missing module docstring (missing-module-docstring, C0114)
src/config.py#L1
Missing module docstring (missing-module-docstring, C0114)
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#L14
Use lazy % formatting in logging functions (logging-fstring-interpolation, W1203)
src/routes.py#L19
Use lazy % formatting in logging functions (logging-fstring-interpolation, W1203)
src/routes.py#L24
Use lazy % formatting in logging functions (logging-fstring-interpolation, W1203)
src/routes.py#L40
Use lazy % formatting in logging functions (logging-fstring-interpolation, W1203)
src/routes.py#L48
Missing function or method docstring (missing-function-docstring, C0116)
src/routes.py#L55
Missing function or method docstring (missing-function-docstring, C0116)
src/routes.py#L59
Use lazy % formatting in logging functions (logging-fstring-interpolation, W1203)
src/routes.py#L67
Missing function or method docstring (missing-function-docstring, C0116)
src/routes.py#L70
Use lazy % formatting in logging functions (logging-fstring-interpolation, W1203)
src/db.py#L10
Line too long (101/100) (line-too-long, C0301)
src/db.py#L11
Line too long (101/100) (line-too-long, C0301)
src/db.py#L39
Line too long (127/100) (line-too-long, C0301)
src/db.py#L45
Trailing whitespace (trailing-whitespace, C0303)
src/db.py#L51
Line too long (101/100) (line-too-long, C0301)
src/db.py#L113
Line too long (105/100) (line-too-long, C0301)
src/db.py#L115
Line too long (117/100) (line-too-long, C0301)
src/db.py#L148
Line too long (101/100) (line-too-long, C0301)
src/db.py#L151
Line too long (101/100) (line-too-long, C0301)
src/db.py#L175
Trailing whitespace (trailing-whitespace, C0303)
src/db.py#L184
Line too long (134/100) (line-too-long, C0301)
src/db.py#L203
Trailing whitespace (trailing-whitespace, C0303)
src/db.py#L215
Line too long (102/100) (line-too-long, C0301)
src/db.py#L243
Trailing whitespace (trailing-whitespace, C0303)
src/db.py#L6
TODO: gestione loggign (passare instanza app ?) (fixme, W0511)
src/db.py#L49
TODO: potrebbe essere migliorato usando un file SQL che definisce la struttura (fixme, W0511)
src/db.py#L215
TODO: 'else' dovrebbe ritornare {} (dict vuoto) (fixme, W0511)
src/db.py#L1
Missing module docstring (missing-module-docstring, C0114)
src/app.py#L1
Missing module docstring (missing-module-docstring, C0114)
src/app.py#L43
Use lazy % formatting in logging functions (logging-fstring-interpolation, W1203)
src/app.py#L46
Use lazy % formatting in logging functions (logging-fstring-interpolation, W1203)
docker/vault.py#L35
Trailing whitespace (trailing-whitespace, C0303)
docker/vault.py#L53
Line too long (102/100) (line-too-long, C0301)
docker/vault.py#L86
Trailing whitespace (trailing-whitespace, C0303)
docker/vault.py#L120
Trailing whitespace (trailing-whitespace, C0303)
docker/vault.py#L157
Line too long (119/100) (line-too-long, C0301)
docker/vault.py#L166
Line too long (114/100) (line-too-long, C0301)
docker/vault.py#L288
Line too long (141/100) (line-too-long, C0301)
docker/vault.py#L290
Line too long (108/100) (line-too-long, C0301)
docker/vault.py#L356
Trailing newlines (trailing-newlines, C0305)
docker/vault.py#L193
TODO: put in .env file ? (fixme, W0511)
docker/vault.py#L288
TODO: automatico ? (fixme, W0511)
docker/vault.py#L1
Missing module docstring (missing-module-docstring, C0114)
docker/vault.py#L35
Redefining name 'secrets' from outer scope (line 5) (redefined-outer-name, W0621)
docker/vault.py#L28
Use lazy % formatting in logging functions (logging-fstring-interpolation, W1203)
docker/vault.py#L29
Use lazy % formatting in logging functions (logging-fstring-interpolation, W1203)
Run linters
The following actions uses Node.js version which is deprecated 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/