CI/CD: Linter Action #2
Annotations
50 errors and 1 warning
main.py#L21
Trailing whitespace (trailing-whitespace, C0303)
|
main.py#L76
Trailing whitespace (trailing-whitespace, C0303)
|
main.py#L143
Trailing whitespace (trailing-whitespace, C0303)
|
main.py#L144
Trailing newlines (trailing-newlines, C0305)
|
main.py#L1
Missing module docstring (missing-module-docstring, C0114)
|
main.py#L3
Unable to import 'flask' (import-error, E0401)
|
main.py#L4
Unable to import 'flask' (import-error, E0401)
|
main.py#L5
Unable to import 'authlib.integrations.flask_client' (import-error, E0401)
|
main.py#L65
Missing function or method docstring (missing-function-docstring, C0116)
|
main.py#L73
Unnecessary "else" after "return", remove the "else" and de-indent the code inside it (no-else-return, R1705)
|
main.py#L67
Unused variable 'request_data' (unused-variable, W0612)
|
main.py#L109
Missing function or method docstring (missing-function-docstring, C0116)
|
main.py#L116
Missing function or method docstring (missing-function-docstring, C0116)
|
main.py#L128
Missing function or method docstring (missing-function-docstring, C0116)
|
main.py#L6
Standard import "logging.config.dictConfig" should be placed before third party imports "flask.Flask", "flask.render_template", "authlib.integrations.flask_client.OAuth" (wrong-import-order, C0411)
|
main.py#L1
Unused import logging (unused-import, W0611)
|
main.py#L2
Unused import sys (unused-import, W0611)
|
config.py#L1
Missing module docstring (missing-module-docstring, C0114)
|
config.py#L3
Unable to import 'dotenv' (import-error, E0401)
|
db.py#L10
Line too long (101/100) (line-too-long, C0301)
|
db.py#L11
Line too long (101/100) (line-too-long, C0301)
|
db.py#L39
Line too long (127/100) (line-too-long, C0301)
|
db.py#L45
Trailing whitespace (trailing-whitespace, C0303)
|
db.py#L51
Line too long (101/100) (line-too-long, C0301)
|
db.py#L113
Line too long (105/100) (line-too-long, C0301)
|
db.py#L115
Line too long (117/100) (line-too-long, C0301)
|
db.py#L148
Line too long (101/100) (line-too-long, C0301)
|
db.py#L151
Line too long (101/100) (line-too-long, C0301)
|
db.py#L175
Trailing whitespace (trailing-whitespace, C0303)
|
db.py#L184
Line too long (134/100) (line-too-long, C0301)
|
db.py#L203
Trailing whitespace (trailing-whitespace, C0303)
|
db.py#L215
Line too long (102/100) (line-too-long, C0301)
|
db.py#L243
Trailing whitespace (trailing-whitespace, C0303)
|
db.py#L6
TODO: gestione loggign (passare instanza app ?) (fixme, W0511)
|
db.py#L49
TODO: potrebbe essere migliorato usando un file SQL che definisce la struttura (fixme, W0511)
|
db.py#L215
TODO: 'else' dovrebbe ritornare {} (dict vuoto) (fixme, W0511)
|
db.py#L1
Missing module docstring (missing-module-docstring, C0114)
|
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#L1
Unable to import 'hvac' (import-error, E0401)
|
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/
|