Skip to content

Merge pull request #39 from TOPIC114/latest-change #99

Merge pull request #39 from TOPIC114/latest-change

Merge pull request #39 from TOPIC114/latest-change #99

Triggered via push November 7, 2024 21:22
Status Success
Total duration 7m 6s
Artifacts

code_quality.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

21 warnings and 106 notices
Incorrect type: src/user.py#L115
Expected type 'SuccessResponse', got 'dict\[str, str\]' instead
Incorrect type: src/recipe.py#L334
Expected type 'SuccessResponse', got 'dict\[str, str\]' instead
Incorrect type: src/recipe.py#L84
Expected type 'FromClauseRole \| type \| Inspectable\[_HasClauseElement\] \| _HasClauseElement', got 'Select\[tuple\[Any\]\] \| Select' instead
Incorrect type: src/video.py#L37
Expected type 'SuccessResponse', got 'dict\[str, str\]' instead
Incorrect type: src/recipe.py#L63
Expected type 'SuccessResponse', got 'dict\[str, str\]' instead
Incorrect type: src/video.py#L56
Expected type 'FromClauseRole \| type \| Inspectable\[_HasClauseElement\] \| _HasClauseElement', got 'Select\[tuple\[Any\]\] \| Select' instead
Incorrect type: src/video.py#L94
Expected type 'SuccessResponse', got 'dict\[str, str\]' instead
Incorrect type: src/video.py#L111
Expected type 'SuccessResponse', got 'dict\[str, str\]' instead
Incorrect type: src/user.py#L105
Expected type 'SuccessResponse', got 'dict\[str, str\]' instead
Incorrect type: src/user.py#L112
Expected type 'ColumnElement\[bool\] \| _HasClauseElement\[bool\] \| SQLCoreOperations\[bool\] \| ExpressionElementRole\[bool\] \| () -\> ColumnElement\[bool\] \| LambdaElement', got 'bool' instead
Incorrect type: src/recipe.py#L223
Expected type 'list\[RecipeSearchResponse\]', got 'list\[dict\[str, Any\]\]' instead
Incorrect type: src/user.py#L86
Expected type 'ColumnElement\[bool\] \| _HasClauseElement\[bool\] \| SQLCoreOperations\[bool\] \| ExpressionElementRole\[bool\] \| () -\> ColumnElement\[bool\] \| LambdaElement', got 'bool' instead
Incorrect type: src/recipe.py#L99
Expected type 'SuccessResponse', got 'dict\[str, str\]' instead
Incorrect type: src/detect.py#L224
Expected type 'ColumnElement\[bool\] \| _HasClauseElement\[bool\] \| SQLCoreOperations\[bool\] \| ExpressionElementRole\[bool\] \| () -\> ColumnElement\[bool\] \| LambdaElement', got 'bool' instead
Incorrect type: src/detect.py#L129
Expected type 'bool', got 'float' instead
Incorrect type: src/user.py#L79
Expected type 'UserInfoResponse', got 'dict\[str, Any\]' instead
Incorrect type: src/video.py#L77
Expected type 'SuccessResponse', got 'dict\[str, str\]' instead
Incorrect type: src/recipe.py#L317
Expected type 'ColumnElement\[bool\] \| _HasClauseElement\[bool\] \| SQLCoreOperations\[bool\] \| ExpressionElementRole\[bool\] \| () -\> ColumnElement\[bool\] \| LambdaElement', got 'bool' instead
Incorrect type: src/recipe.py#L207
Expected type 'list\[RecipeSearchResponse\]', got 'list\[dict\[str, Any\]\]' instead
Incorrect type: src/user.py#L35
Expected type 'SuccessResponse', got 'dict\[str, str\]' instead
qodana
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Unsatisfied package requirements: src/detect.py#L27
Package containing module 'ffmpeg' is not listed in the project requirements
Unsatisfied package requirements: src/detect.py#L16
Package containing module 'sahi' is not listed in the project requirements
Unsatisfied package requirements: src/detect.py#L15
Package containing module 'sahi' is not listed in the project requirements
PEP 8 coding style violation: src/ingredient.py#L59
PEP 8: W292 no newline at end of file
PEP 8 coding style violation: src/response/recipe.py#L21
PEP 8: E203 whitespace before ':'
PEP 8 coding style violation: src/recipe.py#L352
PEP 8: E231 missing whitespace after ':'
PEP 8 coding style violation: src/recipe.py#L288
PEP 8: E231 missing whitespace after ':'
PEP 8 coding style violation: src/recipe.py#L352
PEP 8: E231 missing whitespace after ','
PEP 8 coding style violation: src/recipe.py#L352
PEP 8: E231 missing whitespace after ','
PEP 8 coding style violation: src/response/recipe.py#L7
PEP 8: E203 whitespace before ':'
PEP 8 coding style violation: src/recipe.py#L194
PEP 8: E231 missing whitespace after ','
PEP 8 coding style violation: src/recipe.py#L22
PEP 8: E302 expected 2 blank lines, found 1
PEP 8 coding style violation: src/recipe.py#L210
PEP 8: E231 missing whitespace after ':'
PEP 8 coding style violation: src/sql_app/model/__init__.py#L1
PEP 8: E231 missing whitespace after ','
PEP 8 coding style violation: src/recipe.py#L192
PEP 8: E302 expected 2 blank lines, found 1
PEP 8 coding style violation: src/response/recipe.py#L10
PEP 8: E302 expected 2 blank lines, found 1
PEP 8 coding style violation: src/response/recipe.py#L23
PEP 8: E203 whitespace before ':'
PEP 8 coding style violation: src/recipe.py#L210
PEP 8: E231 missing whitespace after ':'
PEP 8 coding style violation: src/recipe.py#L271
PEP 8: E303 too many blank lines (2)
PEP 8 coding style violation: src/recipe.py#L344
PEP 8: E231 missing whitespace after ':'
PEP 8 coding style violation: src/request/recipe.py#L18
PEP 8: E302 expected 2 blank lines, found 1
PEP 8 coding style violation: src/detect.py#L79
PEP 8: E303 too many blank lines (2)
PEP 8 coding style violation: src/detect.py#L39
PEP 8: E231 missing whitespace after ':'
PEP 8 coding style violation: src/response/recipe.py#L22
PEP 8: E261 at least two spaces before inline comment
PEP 8 coding style violation: src/recipe.py#L271
PEP 8: E231 missing whitespace after ','
PEP 8 coding style violation: src/recipe.py#L271
PEP 8: E231 missing whitespace after ':'
PEP 8 coding style violation: src/response/recipe.py#L24
PEP 8: E231 missing whitespace after ':'
PEP 8 coding style violation: src/recipe.py#L306
PEP 8: E302 expected 2 blank lines, found 1
PEP 8 coding style violation: src/detect.py#L42
PEP 8: E231 missing whitespace after ':'
PEP 8 coding style violation: src/recipe.py#L344
PEP 8: E231 missing whitespace after ':'
PEP 8 coding style violation: src/recipe.py#L352
PEP 8: E231 missing whitespace after ','
PEP 8 coding style violation: src/response/recipe.py#L17
PEP 8: E231 missing whitespace after ':'
PEP 8 coding style violation: src/request/recipe.py#L21
PEP 8: E302 expected 2 blank lines, found 1
PEP 8 coding style violation: src/response/recipe.py#L21
PEP 8: E231 missing whitespace after ':'
PEP 8 coding style violation: src/recipe.py#L264
PEP 8: E302 expected 2 blank lines, found 1
PEP 8 coding style violation: src/recipe.py#L266
PEP 8: E231 missing whitespace after ':'
PEP 8 coding style violation: src/recipe.py#L343
PEP 8: E302 expected 2 blank lines, found 1
PEP 8 coding style violation: src/recipe.py#L202
PEP 8: E231 missing whitespace after ':'
PEP 8 coding style violation: src/response/recipe.py#L24
PEP 8: E203 whitespace before ':'
PEP 8 coding style violation: src/recipe.py#L211
PEP 8: E231 missing whitespace after ':'
PEP 8 coding style violation: src/response/recipe.py#L16
PEP 8: E203 whitespace before ':'
PEP 8 coding style violation: src/recipe.py#L211
PEP 8: E231 missing whitespace after ','
PEP 8 coding style violation: src/response/recipe.py#L21
PEP 8: E261 at least two spaces before inline comment
PEP 8 coding style violation: src/recipe.py#L193
PEP 8: E231 missing whitespace after ':'
PEP 8 coding style violation: src/recipe.py#L209
PEP 8: E302 expected 2 blank lines, found 1
PEP 8 coding style violation: src/recipe.py#L352
PEP 8: E231 missing whitespace after ':'
PEP 8 coding style violation: src/detect.py#L72
PEP 8: E231 missing whitespace after ','
PEP 8 coding style violation: src/detect.py#L46
PEP 8: E231 missing whitespace after ':'
PEP 8 coding style violation: src/response/recipe.py#L6
PEP 8: E203 whitespace before ':'
PEP 8 coding style violation: src/detect.py#L44
PEP 8: E231 missing whitespace after ':'
PEP 8 coding style violation: src/recipe.py#L194
PEP 8: E231 missing whitespace after ','
PEP 8 coding style violation: src/detect.py#L280
PEP 8: E501 line too long (136 \> 120 characters)
PEP 8 coding style violation: src/recipe.py#L344
PEP 8: E251 unexpected spaces around keyword / parameter equals
PEP 8 coding style violation: src/response/recipe.py#L24
PEP 8: E227 missing whitespace around bitwise or shift operator
PEP 8 coding style violation: src/detect.py#L45
PEP 8: E231 missing whitespace after ':'
PEP 8 coding style violation: src/recipe.py#L344
PEP 8: E251 unexpected spaces around keyword / parameter equals
PEP 8 coding style violation: src/response/recipe.py#L23
PEP 8: E231 missing whitespace after ':'
PEP 8 coding style violation: src/recipe.py#L352
PEP 8: E231 missing whitespace after ':'
PEP 8 coding style violation: src/response/recipe.py#L22
PEP 8: E203 whitespace before ':'
PEP 8 coding style violation: src/recipe.py#L348
PEP 8: E201 whitespace after '('
PEP 8 coding style violation: src/detect.py#L49
PEP 8: E231 missing whitespace after ','
PEP 8 coding style violation: src/detect.py#L76
PEP 8: E501 line too long (126 \> 120 characters)
PEP 8 coding style violation: src/response/recipe.py#L6
PEP 8: E231 missing whitespace after ':'
PEP 8 coding style violation: src/request/recipe.py#L24
PEP 8: E231 missing whitespace after ':'
PEP 8 coding style violation: src/response/recipe.py#L15
PEP 8: E227 missing whitespace around bitwise or shift operator
PEP 8 coding style violation: src/recipe.py#L45
PEP 8: E302 expected 2 blank lines, found 1
PEP 8 coding style violation: src/detect.py#L40
PEP 8: E231 missing whitespace after ':'
PEP 8 coding style violation: src/recipe.py#L90
PEP 8: E302 expected 2 blank lines, found 1
PEP 8 coding style violation: src/recipe.py#L352
PEP 8: E231 missing whitespace after ':'
PEP 8 coding style violation: src/request/recipe.py#L23
PEP 8: E231 missing whitespace after ':'
PEP 8 coding style violation: src/detect.py#L98
PEP 8: E231 missing whitespace after ','
PEP 8 coding style violation: src/response/recipe.py#L17
PEP 8: E203 whitespace before ':'
PEP 8 coding style violation: src/recipe.py#L67
PEP 8: E201 whitespace after '('
PEP 8 coding style violation: src/response/recipe.py#L7
PEP 8: E231 missing whitespace after ':'
PEP 8 coding style violation: src/detect.py#L63
PEP 8: E231 missing whitespace after ','
PEP 8 coding style violation: src/detect.py#L76
PEP 8: E731 do not assign a lambda expression, use a def
PEP 8 coding style violation: src/recipe.py#L194
PEP 8: E231 missing whitespace after ':'
PEP 8 coding style violation: src/recipe.py#L194
PEP 8: E231 missing whitespace after ':'
PEP 8 coding style violation: src/recipe.py#L193
PEP 8: E231 missing whitespace after ':'
PEP 8 coding style violation: src/recipe.py#L266
PEP 8: E231 missing whitespace after ','
PEP 8 coding style violation: src/detect.py#L46
PEP 8: E261 at least two spaces before inline comment
PEP 8 coding style violation: src/detect.py#L43
PEP 8: E231 missing whitespace after ':'
PEP 8 coding style violation: src/detect.py#L76
PEP 8: E231 missing whitespace after ':'
PEP 8 coding style violation: src/recipe.py#L46
PEP 8: E501 line too long (129 \> 120 characters)
PEP 8 coding style violation: src/response/recipe.py#L16
PEP 8: E231 missing whitespace after ':'
PEP 8 coding style violation: src/response/recipe.py#L22
PEP 8: E231 missing whitespace after ':'
PEP 8 coding style violation: src/recipe.py#L211
PEP 8: E231 missing whitespace after ':'
PEP 8 coding style violation: src/made.py#L33
PEP 8: E302 expected 2 blank lines, found 1
PEP 8 coding style violation: src/response/recipe.py#L8
PEP 8: E203 whitespace before ':'
PEP 8 coding style violation: src/recipe.py#L288
PEP 8: E231 missing whitespace after ','
PEP 8 coding style violation: src/detect.py#L49
PEP 8: E302 expected 2 blank lines, found 1
PEP 8 coding style violation: src/detect.py#L358
PEP 8: E231 missing whitespace after ','
PEP 8 coding style violation: src/recipe.py#L74
PEP 8: E302 expected 2 blank lines, found 1
PEP 8 coding style violation: src/detect.py#L41
PEP 8: E231 missing whitespace after ':'
PEP 8 coding style violation: src/detect.py#L46
PEP 8: E203 whitespace before ':'
PEP 8 coding style violation: src/detect.py#L49
PEP 8: E261 at least two spaces before inline comment
PEP 8 coding style violation: src/request/ingredient.py#L14
PEP 8: E302 expected 2 blank lines, found 1
PEP 8 coding style violation: src/request/recipe.py#L24
PEP 8: W292 no newline at end of file
PEP 8 coding style violation: src/detect.py#L69
PEP 8: E501 line too long (135 \> 120 characters)
PEP 8 coding style violation: src/recipe.py#L352
PEP 8: E231 missing whitespace after ','
PEP 8 coding style violation: src/ingredient.py#L59
PEP 8: E275 missing whitespace after keyword
PEP 8 coding style violation: src/recipe.py#L211
PEP 8: E231 missing whitespace after ','
PEP 8 coding style violation: src/response/recipe.py#L5
PEP 8: E302 expected 2 blank lines, found 1
Shadowing built-in names: src/video.py#L98
Shadows built-in name 'id'
Shadowing built-in names: src/video.py#L64
Shadows built-in name 'id'
Shadowing built-in names: src/video.py#L81
Shadows built-in name 'id'