Project Structure #7
Annotations
50 errors and 1 warning
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)
|
docker/vault.py#L34
Using open without explicitly specifying an encoding (unspecified-encoding, W1514)
|
docker/vault.py#L39
Consider using 'sys.exit' instead (consider-using-sys-exit, R1722)
|
docker/vault.py#L44
Use lazy % formatting in logging functions (logging-fstring-interpolation, W1203)
|
docker/vault.py#L55
Unused argument 'ctx' (unused-argument, W0613)
|
docker/vault.py#L74
Use lazy % formatting in logging functions (logging-fstring-interpolation, W1203)
|
docker/vault.py#L81
Use lazy % formatting in logging functions (logging-fstring-interpolation, W1203)
|
docker/vault.py#L82
Use lazy % formatting in logging functions (logging-fstring-interpolation, W1203)
|
docker/vault.py#L85
Using open without explicitly specifying an encoding (unspecified-encoding, W1514)
|
docker/vault.py#L98
Use lazy % formatting in logging functions (logging-fstring-interpolation, W1203)
|
docker/vault.py#L105
Use lazy % formatting in logging functions (logging-fstring-interpolation, W1203)
|
docker/vault.py#L106
Use lazy % formatting in logging functions (logging-fstring-interpolation, W1203)
|
docker/vault.py#L107
Use lazy % formatting in logging functions (logging-fstring-interpolation, W1203)
|
docker/vault.py#L109
Use lazy % formatting in logging functions (logging-fstring-interpolation, W1203)
|
docker/vault.py#L95
Unused variable 'root_token' (unused-variable, W0612)
|
docker/vault.py#L124
Use lazy % formatting in logging functions (logging-fstring-interpolation, W1203)
|
docker/vault.py#L129
Consider using '{"email": user['email'], "username": user['username']}' instead of a call to 'dict'. (use-dict-literal, R1735)
|
docker/vault.py#L132
Use lazy % formatting in logging functions (logging-fstring-interpolation, W1203)
|
docker/vault.py#L140
Use lazy % formatting in logging functions (logging-fstring-interpolation, W1203)
|
docker/vault.py#L167
Use lazy % formatting in logging functions (logging-fstring-interpolation, W1203)
|
docker/vault.py#L197
Use lazy % formatting in logging functions (logging-fstring-interpolation, W1203)
|
docker/vault.py#L218
Use lazy % formatting in logging functions (logging-fstring-interpolation, W1203)
|
docker/vault.py#L237
Use lazy % formatting in logging functions (logging-fstring-interpolation, W1203)
|
docker/vault.py#L260
Use lazy % formatting in logging functions (logging-format-interpolation, W1202)
|
docker/vault.py#L260
Formatting a regular string which could be an f-string (consider-using-f-string, C0209)
|
docker/vault.py#L281
Use lazy % formatting in logging functions (logging-fstring-interpolation, W1203)
|
docker/vault.py#L293
Use lazy % formatting in logging functions (logging-fstring-interpolation, W1203)
|
docker/vault.py#L295
Using open without explicitly specifying an encoding (unspecified-encoding, W1514)
|
docker/vault.py#L319
Redefining name 'secrets' from outer scope (line 5) (redefined-outer-name, W0621)
|
docker/vault.py#L318
Using open without explicitly specifying an encoding (unspecified-encoding, W1514)
|
docker/vault.py#L328
Use lazy % formatting in logging functions (logging-fstring-interpolation, W1203)
|
docker/vault.py#L330
Unused variable 'e' (unused-variable, W0612)
|
docker/vault.py#L355
No value for argument 'ctx' in function call (no-value-for-parameter, E1120)
|
docker/vault.py#L355
No value for argument 'verbose' in function call (no-value-for-parameter, E1120)
|
docker/vault.py#L3
Standard import "json" should be placed before third party imports "hvac", "click" (wrong-import-order, C0411)
|
docker/vault.py#L4
Standard import "logging" should be placed before third party imports "hvac", "click" (wrong-import-order, C0411)
|
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/
|