Move checking types of endpoints from __call__ -> handle_http()
to …
#14
186 new problems found by Qodana for Python
Qodana for Python
186 new problems were found
Inspection name | Severity | Problems |
---|---|---|
Unsatisfied package requirements |
🔶 Warning | 67 |
Incorrect call arguments |
🔶 Warning | 8 |
Incorrect type |
🔶 Warning | 7 |
Missing await syntax in coroutine calls |
🔶 Warning | 2 |
Method signature does not match signature of overridden method |
🔶 Warning | 1 |
Unbound local variables |
🔶 Warning | 1 |
Unsatisfied package requirements |
◽️ Notice | 51 |
Unused local symbols |
◽️ Notice | 14 |
An instance attribute is defined outside init`` |
◽️ Notice | 11 |
Method is not declared static |
◽️ Notice | 7 |
Accessing a protected member of a class or a module |
◽️ Notice | 7 |
PEP 8 coding style violation |
◽️ Notice | 4 |
Shadowing names from outer scopes |
◽️ Notice | 4 |
Improper first parameter |
◽️ Notice | 1 |
Problematic nesting of decorators |
◽️ Notice | 1 |
💡 Qodana analysis was run in the pull request mode: only the changed files were checked
☁️ View the detailed Qodana report
Detected 3 dependencies
Third-party software list
This page lists the third-party software dependencies used in project
Dependency | Version | Licenses |
---|---|---|
cffi | 1.16.0 | MIT |
cryptography | 41.0.7 | BSD-3-Clause |
pycparser | 2.21 | BSD-3-Clause |
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 40 in example/model_serializer_example.py
github-actions / Qodana for Python
Incorrect call arguments
Unexpected argument
Check warning on line 40 in example/model_serializer_example.py
github-actions / Qodana for Python
Incorrect call arguments
Unexpected argument
Check warning on line 52 in panther/db/queries/base_queries.py
github-actions / Qodana for Python
Incorrect call arguments
Unexpected argument
Check warning on line 40 in example/model_serializer_example.py
github-actions / Qodana for Python
Incorrect call arguments
Unexpected argument
Check warning on line 85 in panther/main.py
github-actions / Qodana for Python
Incorrect call arguments
Unexpected argument(s). Possible callees: Panther.handle_http(scope: dict, receive: (...) -\> Any, send: (...) -\> Any) Panther.handle_ws(scope: dict, receive: (...) -\> Any, send: (...) -\> Any)
Check warning on line 37 in example/model_serializer_example.py
github-actions / Qodana for Python
Incorrect call arguments
Parameter 'validated_data' unfilled
Check warning on line 43 in panther/db/queries/base_queries.py
github-actions / Qodana for Python
Incorrect call arguments
Unexpected argument
Check warning on line 40 in example/model_serializer_example.py
github-actions / Qodana for Python
Incorrect call arguments
Unexpected argument
Check warning on line 202 in panther/response.py
github-actions / Qodana for Python
Missing `await` syntax in coroutine calls
Coroutine 'create_task' is not awaited
Check warning on line 194 in panther/base_websocket.py
github-actions / Qodana for Python
Missing `await` syntax in coroutine calls
Coroutine 'create_task' is not awaited
Check notice on line 22 in panther/file_handler.py
github-actions / Qodana for Python
An instance attribute is defined outside `__init__`
Instance attribute _file_name defined outside __init__
Check notice on line 86 in panther/db/connections.py
github-actions / Qodana for Python
An instance attribute is defined outside `__init__`
Instance attribute _connection defined outside __init__
Check notice on line 19 in panther/test.py
github-actions / Qodana for Python
An instance attribute is defined outside `__init__`
Instance attribute header defined outside __init__
Check notice on line 60 in panther/db/connections.py
github-actions / Qodana for Python
An instance attribute is defined outside `__init__`
Instance attribute _client defined outside __init__
Check notice on line 49 in panther/main.py
github-actions / Qodana for Python
An instance attribute is defined outside `__init__`
Instance attribute _configs_module defined outside __init__
Check notice on line 135 in panther/db/connections.py
github-actions / Qodana for Python
An instance attribute is defined outside `__init__`
Instance attribute websocket_connection defined outside __init__
Check notice on line 28 in panther/monitoring.py
github-actions / Qodana for Python
An instance attribute is defined outside `__init__`
Instance attribute log defined outside __init__
Check notice on line 69 in panther/db/connections.py
github-actions / Qodana for Python
An instance attribute is defined outside `__init__`
Instance attribute _database defined outside __init__
Check notice on line 29 in panther/monitoring.py
github-actions / Qodana for Python
An instance attribute is defined outside `__init__`
Instance attribute start_time defined outside __init__
Check notice on line 39 in panther/request.py
github-actions / Qodana for Python
An instance attribute is defined outside `__init__`
Instance attribute __body defined outside __init__
Check notice on line 42 in panther/test.py
github-actions / Qodana for Python
An instance attribute is defined outside `__init__`
Instance attribute payload defined outside __init__
Check notice on line 199 in panther/app.py
github-actions / Qodana for Python
Method is not declared static
Method `get_output_model` may be 'static'
Check notice on line 230 in panther/serializer.py
github-actions / Qodana for Python
Method is not declared static
Method `prepare_response` may be 'static'
Check notice on line 214 in panther/serializer.py
github-actions / Qodana for Python
Method is not declared static
Method `update` may be 'static'
Check notice on line 196 in panther/app.py
github-actions / Qodana for Python
Method is not declared static
Method `get_input_model` may be 'static'