Merge pull request #36 from TOPIC114/made #88
24 new problems found by Qodana Community for Python
Qodana Community for Python
24 new problems were found
Inspection name | Severity | Problems |
---|---|---|
Incorrect type |
🔶 Warning | 15 |
PEP 8 coding style violation |
◽️ Notice | 3 |
Unclear exception clauses |
◽️ Notice | 2 |
Shadowing built-in names |
◽️ Notice | 2 |
Unused local symbols |
◽️ Notice | 2 |
💡 Qodana analysis was run in the pull request mode: only the changed files were checked
☁️ View the detailed Qodana report
Contact Qodana team
Contact us at qodana-support@jetbrains.com
- Or via our issue tracker: https://jb.gg/qodana-issue
- Or share your feedback: https://jb.gg/qodana-discussions
Details
This result was published with Qodana GitHub Action
Annotations
Check notice on line 105 in src/made.py
github-actions / Qodana Community for Python
Unclear exception clauses
Too broad exception clause
Check notice on line 52 in src/made.py
github-actions / Qodana Community for Python
Unclear exception clauses
Too broad exception clause
Check notice on line 105 in src/made.py
github-actions / Qodana Community for Python
PEP 8 coding style violation
PEP 8: E261 at least two spaces before inline comment
Check notice on line 29 in src/detect.py
github-actions / Qodana Community for Python
PEP 8 coding style violation
PEP 8: E302 expected 2 blank lines, found 1
Check notice on line 52 in src/made.py
github-actions / Qodana Community for Python
PEP 8 coding style violation
PEP 8: E261 at least two spaces before inline comment
Check notice on line 70 in src/detect.py
github-actions / Qodana Community for Python
Shadowing built-in names
Shadows built-in name 'dict'
Check notice on line 41 in src/detect.py
github-actions / Qodana Community for Python
Shadowing built-in names
Shadows built-in name 'dict'
Check warning on line 31 in src/made.py
github-actions / Qodana Community for Python
Incorrect type
Expected type 'ColumnElement\[bool\] \| _HasClauseElement\[bool\] \| SQLCoreOperations\[bool\] \| ExpressionElementRole\[bool\] \| () -\> ColumnElement\[bool\] \| LambdaElement', got 'bool' instead
Check warning on line 85 in src/user.py
github-actions / Qodana Community for Python
Incorrect type
Expected type 'ColumnElement\[bool\] \| _HasClauseElement\[bool\] \| SQLCoreOperations\[bool\] \| ExpressionElementRole\[bool\] \| () -\> ColumnElement\[bool\] \| LambdaElement', got 'bool' instead
Check warning on line 39 in src/detect.py
github-actions / Qodana Community for Python
Incorrect type
Expected type 'bool', got 'float' instead
Check warning on line 104 in src/user.py
github-actions / Qodana Community for Python
Incorrect type
Expected type 'SuccessResponse', got 'dict\[str, str\]' instead
Check warning on line 74 in src/recipe.py
github-actions / Qodana Community for Python
Incorrect type
Expected type 'RecipeInfoResponse', got 'dict\[str, Any\]' instead
Check warning on line 114 in src/user.py
github-actions / Qodana Community for Python
Incorrect type
Expected type 'SuccessResponse', got 'dict\[str, str\]' instead
Check warning on line 88 in src/recipe.py
github-actions / Qodana Community for Python
Incorrect type
Expected type 'ColumnElement\[bool\] \| _HasClauseElement\[bool\] \| SQLCoreOperations\[bool\] \| ExpressionElementRole\[bool\] \| () -\> ColumnElement\[bool\] \| LambdaElement', got 'bool' instead
Check warning on line 33 in src/recipe.py
github-actions / Qodana Community for Python
Incorrect type
Expected type 'SuccessResponse', got 'dict\[str, str\]' instead
Check warning on line 105 in src/recipe.py
github-actions / Qodana Community for Python
Incorrect type
Expected type 'SuccessResponse', got 'dict\[str, str\]' instead
Check warning on line 111 in src/user.py
github-actions / Qodana Community for Python
Incorrect type
Expected type 'ColumnElement\[bool\] \| _HasClauseElement\[bool\] \| SQLCoreOperations\[bool\] \| ExpressionElementRole\[bool\] \| () -\> ColumnElement\[bool\] \| LambdaElement', got 'bool' instead
Check warning on line 153 in src/detect.py
github-actions / Qodana Community for Python
Incorrect type
Expected type 'ColumnElement\[bool\] \| _HasClauseElement\[bool\] \| SQLCoreOperations\[bool\] \| ExpressionElementRole\[bool\] \| () -\> ColumnElement\[bool\] \| LambdaElement', got 'bool' instead
Check warning on line 78 in src/user.py
github-actions / Qodana Community for Python
Incorrect type
Expected type 'UserInfoResponse', got 'dict\[str, Any\]' instead
Check warning on line 68 in src/detect.py
github-actions / Qodana Community for Python
Incorrect type
Expected type 'bool', got 'float' instead
Check warning on line 84 in src/made.py
github-actions / Qodana Community for Python
Incorrect type
Expected type 'ColumnElement\[bool\] \| _HasClauseElement\[bool\] \| SQLCoreOperations\[bool\] \| ExpressionElementRole\[bool\] \| () -\> ColumnElement\[bool\] \| LambdaElement', got 'bool' instead
Check warning on line 35 in src/user.py
github-actions / Qodana Community for Python
Incorrect type
Expected type 'SuccessResponse', got 'dict\[str, str\]' instead
Check notice on line 30 in src/user.py
github-actions / Qodana Community for Python
Unused local symbols
Local variable 'e' value is not used
Check notice on line 94 in src/detect.py
github-actions / Qodana Community for Python
Unused local symbols
Local variable 'extension' value is not used