Skip to content
GitHub Actions / Qodana Community for Python completed Feb 18, 2024 in 0s

53 new problems found by Qodana Community for Python

Qodana Community for Python

53 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
Method is not declared static ◽️ Notice 11
Unused local symbols ◽️ Notice 10
Unclear exception clauses ◽️ Notice 6
PEP 8 naming convention violation ◽️ Notice 5
Global variable is not defined at the module level ◽️ Notice 4
Shadowing names from outer scopes ◽️ Notice 4
Using equality operators to compare with None ◽️ Notice 2
An instance attribute is defined outside init`` ◽️ Notice 1
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]

Details

This result was published with Qodana GitHub Action

Annotations

Check notice on line 32 in upsonic_on_prem/utils/ai/ai.py

See this annotation in the file changed.

@github-actions 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 39 in upsonic_on_prem/utils/db/__init__.py

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for Python

Unclear exception clauses

Too broad exception clause

Check notice on line 92 in upsonic_on_prem/dash/app/api_integration.py

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for Python

Unclear exception clauses

Too broad exception clause

Check notice on line 38 in upsonic_on_prem/main.py

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for Python

Class has no `__init__` method

Class has no __init__ method

Check notice on line 14 in upsonic_on_prem/dash/dash/timer.py

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for Python

Method is not declared static

Method `api` may be 'static'

Check notice on line 45 in upsonic_on_prem/dash/app/api_integration.py

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for Python

Method is not declared static

Method `create_read_only_access_key` may be 'static'

Check notice on line 38 in upsonic_on_prem/dash/app/api_integration.py

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for Python

Method is not declared static

Method `create_access_key` may be 'static'

Check notice on line 30 in upsonic_on_prem/dash/app/api_integration.py

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for Python

Method is not declared static

Method `create_database` may be 'static'

Check notice on line 21 in upsonic_on_prem/dash/app/api_integration.py

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for Python

Method is not declared static

Method `service_restart` may be 'static'

Check notice on line 31 in upsonic_on_prem/utils/accesskey.py

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for Python

Method is not declared static

Method `_get` may be 'static'