Merge pull request #35 from TOPIC114/bug-fix #85
Annotations
14 warnings and 5 notices
Incorrect type:
src/user.py#L85
Expected type 'ColumnElement\[bool\] \| _HasClauseElement\[bool\] \| SQLCoreOperations\[bool\] \| ExpressionElementRole\[bool\] \| () -\> ColumnElement\[bool\] \| LambdaElement', got 'bool' instead
|
Incorrect type:
src/detect.py#L39
Expected type 'bool', got 'float' instead
|
Incorrect type:
src/user.py#L104
Expected type 'SuccessResponse', got 'dict\[str, str\]' instead
|
Incorrect type:
src/recipe.py#L74
Expected type 'RecipeInfoResponse', got 'dict\[str, Any\]' instead
|
Incorrect type:
src/user.py#L114
Expected type 'SuccessResponse', got 'dict\[str, str\]' instead
|
Incorrect type:
src/recipe.py#L88
Expected type 'ColumnElement\[bool\] \| _HasClauseElement\[bool\] \| SQLCoreOperations\[bool\] \| ExpressionElementRole\[bool\] \| () -\> ColumnElement\[bool\] \| LambdaElement', got 'bool' instead
|
Incorrect type:
src/recipe.py#L33
Expected type 'SuccessResponse', got 'dict\[str, str\]' instead
|
Incorrect type:
src/recipe.py#L105
Expected type 'SuccessResponse', got 'dict\[str, str\]' instead
|
Incorrect type:
src/user.py#L111
Expected type 'ColumnElement\[bool\] \| _HasClauseElement\[bool\] \| SQLCoreOperations\[bool\] \| ExpressionElementRole\[bool\] \| () -\> ColumnElement\[bool\] \| LambdaElement', got 'bool' instead
|
Incorrect type:
src/detect.py#L153
Expected type 'ColumnElement\[bool\] \| _HasClauseElement\[bool\] \| SQLCoreOperations\[bool\] \| ExpressionElementRole\[bool\] \| () -\> ColumnElement\[bool\] \| LambdaElement', got 'bool' instead
|
Incorrect type:
src/user.py#L78
Expected type 'UserInfoResponse', got 'dict\[str, Any\]' instead
|
Incorrect type:
src/detect.py#L68
Expected type 'bool', got 'float' instead
|
Incorrect type:
src/user.py#L35
Expected type 'SuccessResponse', got 'dict\[str, str\]' instead
|
qodana
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
PEP 8 coding style violation:
src/detect.py#L29
PEP 8: E302 expected 2 blank lines, found 1
|
Shadowing built-in names:
src/detect.py#L70
Shadows built-in name 'dict'
|
Shadowing built-in names:
src/detect.py#L41
Shadows built-in name 'dict'
|
Unused local symbols:
src/user.py#L30
Local variable 'e' value is not used
|
Unused local symbols:
src/detect.py#L94
Local variable 'extension' value is not used
|