Skip to content

Update qodana.yaml

Update qodana.yaml #7

Triggered via push November 19, 2024 11:17
Status Success
Total duration 2m 4s
Artifacts

code-quality.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

8 warnings and 85 notices
Attempt to call a non-callable object: src/flask/app.py#L1518
'Response' object is not callable
Redeclared names without usages: src/flask/cli.py#L241
Redeclared 'locate_app' defined above without usage
Redeclared names without usages: src/flask/helpers.py#L62
Redeclared 'stream_with_context' defined above without usage
Redeclared names without usages: src/flask/config.py#L35
Redeclared '__get__' defined above without usage
Invalid type hints definitions and usages: src/flask/cli.py#L237
'Literal' may be parameterized with literal ints, byte and unicode strings, bools, Enum values, None, other literal types, or type aliases to other literal types
Invalid type hints definitions and usages: src/flask/cli.py#L948
'Literal' may be parameterized with literal ints, byte and unicode strings, bools, Enum values, None, other literal types, or type aliases to other literal types
Invalid type hints definitions and usages: src/flask/cli.py#L231
'Literal' may be parameterized with literal ints, byte and unicode strings, bools, Enum values, None, other literal types, or type aliases to other literal types
qodana
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Class has no `__init__` method: examples/tutorial/tests/test_db.py#L20
Class has no __init__ method
Class has no `__init__` method: src/flask/ctx.py#L29
Class has no __init__ method
Class has no `__init__` method: src/flask/sessions.py#L114
Class has no __init__ method
Class has no `__init__` method: src/flask/views.py#L16
Class has no __init__ method
Class has no `__init__` method: src/flask/sessions.py#L298
Class has no __init__ method
Class has no `__init__` method: src/flask/views.py#L138
Class has no __init__ method
Incorrect docstring: src/flask/sansio/app.py#L687
Missing parameter f in docstring
Incorrect docstring: src/flask/sansio/app.py#L580
Unexpected parameter subdomain in docstring
Incorrect docstring: src/flask/sansio/app.py#L581
Unexpected parameter url_defaults in docstring
Incorrect docstring: src/flask/sansio/app.py#L766
Missing parameter f in docstring
Incorrect docstring: src/flask/sansio/app.py#L579
Unexpected parameter url_prefix in docstring
Incorrect docstring: src/flask/sansio/blueprints.py#L498
Missing parameter f in docstring
Incorrect docstring: src/flask/sansio/blueprints.py#L462
Missing parameter f in docstring
Incorrect docstring: src/flask/sansio/blueprints.py#L536
Missing parameter f in docstring
Incorrect docstring: src/flask/sansio/app.py#L728
Missing parameter f in docstring
Method is not declared static: src/flask/blueprints.py#L55
Method `get_send_file_max_age` may be 'static'
Method is not declared static: src/flask/sessions.py#L222
Method `get_cookie_samesite` may be 'static'
Method is not declared static: src/flask/sessions.py#L237
Method `get_expiration_time` may be 'static'
Method is not declared static: src/flask/json/provider.py#L75
Method `_prepare_response_obj` may be 'static'
Method is not declared static: src/flask/app.py#L980
Method `async_to_sync` may be 'static'
Method is not declared static: src/flask/sessions.py#L229
Method `get_cookie_partitioned` may be 'static'
Method is not declared static: src/flask/app.py#L281
Method `get_send_file_max_age` may be 'static'
Method is not declared static: src/flask/sansio/app.py#L536
Method `select_jinja_autoescape` may be 'static'
Method is not declared static: src/flask/sessions.py#L247
Method `should_set_cookie` may be 'static'
Method is not declared static: src/flask/sessions.py#L201
Method `get_cookie_path` may be 'static'
Method is not declared static: src/flask/sessions.py#L189
Method `get_cookie_domain` may be 'static'
Method is not declared static: src/flask/sansio/app.py#L883
Method `should_ignore_error` may be 'static'
Method is not declared static: src/flask/sessions.py#L216
Method `get_cookie_secure` may be 'static'
Method is not declared static: src/flask/sessions.py#L185
Method `get_cookie_name` may be 'static'
Method is not declared static: src/flask/sessions.py#L209
Method `get_cookie_httponly` may be 'static'
PEP 8 naming convention violation: src/flask/app.py#L722
CamelCase variable imported as lowercase
PEP 8 naming convention violation: src/flask/app.py#L740
CamelCase variable imported as lowercase
PEP 8 naming convention violation: src/flask/debughelpers.py#L90
Class names should use CapWords convention
PEP 8 naming convention violation: src/flask/helpers.py#L243
Argument name should be lowercase
Accessing a protected member of a class or a module: src/flask/templating.py#L160
Access to a protected member _get_current_object of a class
Accessing a protected member of a class or a module: src/flask/helpers.py#L336
Access to a protected member _get_current_object of a class
Accessing a protected member of a class or a module: src/flask/ctx.py#L148
Access to a protected member _after_request_functions of a class
Accessing a protected member of a class or a module: src/flask/app.py#L1313
Access to a protected member _after_request_functions of a class
Accessing a protected member of a class or a module: src/flask/app.py#L1311
Access to a protected member _get_current_object of a class
Accessing a protected member of a class or a module: src/flask/wrappers.py#L198
Access to a protected member _load_form_data of a class
Accessing a protected member of a class or a module: src/flask/templating.py#L148
Access to a protected member _get_current_object of a class
Accessing a protected member of a class or a module: src/flask/app.py#L45
Access to a protected member _sentinel of a module
Accessing a protected member of a class or a module: src/flask/cli.py#L639
Access to a protected member _get_current_object of a class
Accessing a protected member of a class or a module: src/flask/blueprints.py#L12
Access to a protected member _sentinel of a module
Accessing a protected member of a class or a module: src/flask/templating.py#L202
Access to a protected member _get_current_object of a class
Accessing a protected member of a class or a module: src/flask/templating.py#L217
Access to a protected member _get_current_object of a class
Shadowing names from outer scopes: src/flask/sansio/blueprints.py#L385
Shadows name 'key' from outer scope
Shadowing names from outer scopes: examples/celery/src/task_app/views.py#L12
Shadows name 'result' from outer scope
Shadowing names from outer scopes: docs/conf.py#L70
Shadows name 'release' from outer scope
Shadowing names from outer scopes: examples/celery/src/task_app/views.py#L31
Shadows name 'result' from outer scope
Shadowing names from outer scopes: src/flask/helpers.py#L243
Shadows name 'Response' from outer scope
Shadowing names from outer scopes: src/flask/helpers.py#L103
Shadows name 'gen' from outer scope
Shadowing names from outer scopes: src/flask/app.py#L478
Shadows name 'request' from outer scope
Shadowing names from outer scopes: src/flask/views.py#L107
Shadows name 'self' from outer scope
Shadowing names from outer scopes: examples/celery/src/task_app/views.py#L37
Shadows name 'result' from outer scope
Shadowing names from outer scopes: src/flask/app.py#L425
Shadows name 'request' from outer scope
Shadowing names from outer scopes: examples/celery/src/task_app/views.py#L25
Shadows name 'result' from outer scope
Shadowing names from outer scopes: src/flask/sessions.py#L78
Shadows name 'self' from outer scope
Shadowing names from outer scopes: src/flask/sansio/blueprints.py#L384
Shadows name 'key' from outer scope
Shadowing names from outer scopes: src/flask/cli.py#L568
Shadows name 'load_dotenv' from outer scope
Unused local symbols: src/flask/cli.py#L970
Parameter 'start_response' value is not used
Unused local symbols: examples/javascript/tests/test_js_example.py#L15
Parameter 'context' value is not used
Unused local symbols: examples/javascript/tests/test_js_example.py#L15
Parameter 'sender' value is not used
Unused local symbols: src/flask/sansio/app.py#L883
Parameter 'error' value is not used
Unused local symbols: src/flask/cli.py#L237
Parameter 'raise_if_not_found' value is not used
Unused local symbols: src/flask/cli.py#L231
Parameter 'app_name' value is not used
Unused local symbols: examples/tutorial/flaskr/db.py#L23
Parameter 'e' value is not used
Unused local symbols: src/flask/sessions.py#L164
Parameter 'app' value is not used
Unused local symbols: src/flask/templating.py#L101
Parameter 'template' value is not used
Unused local symbols: src/flask/cli.py#L237
Parameter 'app_name' value is not used
Unused local symbols: docs/conf.py#L68
Parameter 'name' value is not used
Unused local symbols: src/flask/sansio/app.py#L287
Parameter 'static_host' value is not used
Unused local symbols: src/flask/cli.py#L231
Parameter 'raise_if_not_found' value is not used
Unused local symbols: src/flask/cli.py#L237
Parameter 'module_name' value is not used
Unused local symbols: src/flask/cli.py#L440
Parameter 'param' value is not used
Unused local symbols: src/flask/cli.py#L267
Parameter 'param' value is not used
Unused local symbols: src/flask/cli.py#L340
Local variable 'app' value is not used
Unused local symbols: src/flask/app.py#L281
Parameter 'filename' value is not used
Unused local symbols: docs/conf.py#L68
Parameter 'lineno' value is not used
Unused local symbols: src/flask/helpers.py#L52
Parameter 'generator_or_function' value is not used
Unused local symbols: src/flask/cli.py#L231
Parameter 'module_name' value is not used
Unused local symbols: src/flask/blueprints.py#L55
Parameter 'filename' value is not used
Unused local symbols: src/flask/cli.py#L970
Parameter 'environ' value is not used
Unused local symbols: src/flask/helpers.py#L58
Parameter 'generator_or_function' value is not used
Unused local symbols: docs/conf.py#L68
Parameter 'content' value is not used