Fixed deployment [PATCH] #45
64 new problems found by Qodana Community for Python
Qodana Community for Python
64 new problems were found
Inspection name | Severity | Problems |
---|---|---|
Redeclared names without usages |
🔶 Warning | 4 |
Attempt to call a non-callable object |
🔶 Warning | 1 |
Unbound local variables |
🔶 Warning | 1 |
Unused local symbols |
◽️ Notice | 14 |
Method is not declared static |
◽️ Notice | 8 |
Shadowing names from outer scopes |
◽️ Notice | 7 |
Unclear exception clauses |
◽️ Notice | 6 |
Using equality operators to compare with None |
◽️ Notice | 5 |
PEP 8 naming convention violation |
◽️ Notice | 5 |
Global variable is not defined at the module level |
◽️ Notice | 4 |
Redundant boolean variable check |
◽️ Notice | 3 |
An instance attribute is defined outside init`` |
◽️ Notice | 2 |
Class has no init method |
◽️ Notice | 1 |
Improper first parameter |
◽️ Notice | 1 |
Assigning function calls that don't return anything |
◽️ Notice | 1 |
Redundant parentheses |
◽️ 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 notice on line 32 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__
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 86 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 38 in upsonic_on_prem/main.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
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
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 warning on line 33 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
Check notice on line 25 in upsonic_on_prem/main.py
github-actions / Qodana Community for Python
Class has no `__init__` method
Class has no __init__ method
Check notice on line 182 in upsonic_on_prem/dash/app/api_integration.py
github-actions / Qodana Community for Python
Using equality operators to compare with None
Comparison with None performed with equality operators
Check notice on line 14 in upsonic_on_prem/dash/dash/timer.py
github-actions / Qodana Community for Python
Using equality operators to compare with None
Comparison with None performed with equality operators
Check notice on line 140 in upsonic_on_prem/dash/app/views.py
github-actions / Qodana Community for Python
Using equality operators to compare with None
Comparison with None performed with equality operators
Check notice on line 236 in upsonic_on_prem/dash/app/api_integration.py
github-actions / Qodana Community for Python
Using equality operators to compare with None
Comparison with None performed with equality operators
Check notice on line 16 in upsonic_on_prem/api/pre_process/base.py
github-actions / Qodana Community for Python
Using equality operators to compare with None
Comparison with None performed with equality operators
Check notice on line 27 in upsonic_on_prem/api/main.py
github-actions / Qodana Community for Python
Global variable is not defined at the module level
Global variable 'threads' is undefined at the module level
Check notice on line 33 in upsonic_on_prem/main.py
github-actions / Qodana Community for Python
Global variable is not defined at the module level
Global variable 'threads' is undefined at the module level
Check notice on line 82 in upsonic_on_prem/utils/db/redis.py
github-actions / Qodana Community for Python
Global variable is not defined at the module level
Global variable 'redis_password' is undefined at the module level
Check notice on line 29 in upsonic_on_prem/main.py
github-actions / Qodana Community for Python
Global variable is not defined at the module level
Global variable 'threads' is undefined at the module level
Check notice on line 7 in upsonic_on_prem/dash/app/adapter.py
github-actions / Qodana Community for Python
Method is not declared static
Method `is_open_for_signup` may be 'static'
Check notice on line 77 in upsonic_on_prem/utils/db/redis.py
github-actions / Qodana Community for Python
Method is not declared static
Method `service_status` may be 'static'
Check notice on line 32 in upsonic_on_prem/main.py
github-actions / Qodana Community for Python
Method is not declared static
Method `api` may be 'static'
Check notice on line 24 in upsonic_on_prem/dash/app/api_integration.py
github-actions / Qodana Community for Python
Method is not declared static
Method `_log` may be 'static'
Check notice on line 30 in upsonic_on_prem/utils/db/redis.py
github-actions / Qodana Community for Python
Method is not declared static
Method `total_size` may be 'static'
Check notice on line 86 in upsonic_on_prem/utils/db/redis.py
github-actions / Qodana Community for Python
Method is not declared static
Method `service_restart` may be 'static'