Changed version number with v0.16.1 #108
2117 new problems found by Qodana Community for Python
Qodana Community for Python
2117 new problems were found
Inspection name | Severity | Problems |
---|---|---|
Improper first parameter |
🔴 Failure | 2 |
Unreachable code |
🔶 Warning | 82 |
Statement has no effect |
🔶 Warning | 81 |
Redeclared names without usages |
🔶 Warning | 46 |
Prohibited trailing semicolon in a statement |
🔶 Warning | 10 |
Unbound local variables |
🔶 Warning | 9 |
Incorrect call arguments |
🔶 Warning | 5 |
Invalid type hints definitions and usages |
🔶 Warning | 3 |
Attempt to call a non-callable object |
🔶 Warning | 1 |
Unused local symbols |
◽️ Notice | 1127 |
Shadowing names from outer scopes |
◽️ Notice | 266 |
PEP 8 naming convention violation |
◽️ Notice | 181 |
Method is not declared static |
◽️ Notice | 122 |
Global variable is not defined at the module level |
◽️ Notice | 70 |
Class has no init method |
◽️ Notice | 47 |
Redundant parentheses |
◽️ Notice | 17 |
Unclear exception clauses |
◽️ Notice | 16 |
Single quoted docstring |
◽️ Notice | 10 |
Using equality operators to compare with None |
◽️ Notice | 9 |
Dictionary creation can be rewritten by dictionary literal |
◽️ Notice | 5 |
Redundant boolean variable check |
◽️ Notice | 3 |
An instance attribute is defined outside init`` |
◽️ Notice | 2 |
Improper first parameter |
◽️ Notice | 2 |
Assigning function calls that don't return anything |
◽️ Notice | 1 |
💡 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 [email protected]
- 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 warning on line 147 in upsonic_on_prem/utils/ai/tree-sitter-python/examples/python3-grammar.py
github-actions / Qodana Community for Python
Incorrect call arguments
Unexpected argument
github-actions / Qodana Community for Python
Incorrect call arguments
Unexpected argument
github-actions / Qodana Community for Python
Incorrect call arguments
Unexpected argument
github-actions / Qodana Community for Python
Incorrect call arguments
Unexpected argument
Check warning on line 111 in upsonic_on_prem/utils/ai/tree-sitter-python/examples/python2-grammar.py
github-actions / Qodana Community for Python
Incorrect call arguments
Unexpected argument
Check notice on line 65 in upsonic_on_prem/utils/ai/ai.py
github-actions / Qodana Community for Python
An instance attribute is defined outside `__init__`
Instance attribute code_to_document_pipeline defined outside __init__
Check notice on line 63 in upsonic_on_prem/dash/app/forms.py
github-actions / Qodana Community for Python
An instance attribute is defined outside `__init__`
Instance attribute user defined outside __init__
github-actions / Qodana Community for Python
Unclear exception clauses
Too broad exception clause
Check notice on line 39 in upsonic_on_prem/utils/db/__init__.py
github-actions / Qodana Community for Python
Unclear exception clauses
Too broad exception clause
Check notice on line 597 in upsonic_on_prem/utils/ai/tree-sitter-python/examples/python2-grammar.py
github-actions / Qodana Community for Python
Unclear exception clauses
Too broad exception clause
github-actions / Qodana Community for Python
Unclear exception clauses
Too broad exception clause
Check notice on line 564 in upsonic_on_prem/utils/ai/tree-sitter-python/examples/python3-grammar.py
github-actions / Qodana Community for Python
Unclear exception clauses
Too broad exception clause
Check notice on line 38 in upsonic_on_prem/main.py
github-actions / Qodana Community for Python
Unclear exception clauses
Too broad exception clause
Check notice on line 399 in upsonic_on_prem/utils/ai/tree-sitter-python/examples/python2-grammar.py
github-actions / Qodana Community for Python
Unclear exception clauses
Too broad exception clause
Check notice on line 32 in upsonic_on_prem/api/main.py
github-actions / Qodana Community for Python
Unclear exception clauses
Too broad exception clause
github-actions / Qodana Community for Python
Unclear exception clauses
Too broad exception clause
Check notice on line 392 in upsonic_on_prem/utils/ai/tree-sitter-python/examples/python3-grammar.py
github-actions / Qodana Community for Python
Unclear exception clauses
Too broad exception clause
Check notice on line 23 in upsonic_on_prem/utils/db/__init__.py
github-actions / Qodana Community for Python
Unclear exception clauses
Too broad exception clause
github-actions / Qodana Community for Python
Unclear exception clauses
Too broad exception clause
Check notice on line 89 in upsonic_on_prem/dash/app/api_integration.py
github-actions / Qodana Community for Python
Unclear exception clauses
Too broad exception clause
Check notice on line 86 in upsonic_on_prem/dash/app/api_integration.py
github-actions / Qodana Community for Python
Unclear exception clauses
Too broad exception clause
github-actions / Qodana Community for Python
Unclear exception clauses
Too broad exception clause
github-actions / Qodana Community for Python
Unclear exception clauses
Too broad exception clause
Check warning on line 97 in upsonic_on_prem/utils/ai/ai.py
github-actions / Qodana Community for Python
Attempt to call a non-callable object
'code_to_document_pipeline' is not callable
github-actions / Qodana Community for Python
Class has no `__init__` method
Class has no __init__ method