canonical / paas-app-charmer

2 stars 2 forks source link

Update all libraries from the examples #14

Closed javierdelapuente closed 5 months ago

javierdelapuente commented 5 months ago

Applicable spec:

Overview

Update all libraries from the examples (charmcraft fetch-lib).

Rationale

Juju Events Changes

Module Changes

Library Changes

Checklist

github-actions[bot] commented 5 months ago

Test coverage for f667fb7e4c0e464ef8f490c4635a7c9833609d71

Name                                           Stmts   Miss Branch BrPart  Cover   Missing
------------------------------------------------------------------------------------------
paas_app_charmer/__init__.py                       0      0      0      0   100%
paas_app_charmer/_gunicorn/__init__.py             0      0      0      0   100%
paas_app_charmer/_gunicorn/charm.py              113     30     18      6    71%   58-60, 144-145, 147-148, 168->exit, 178-182, 187, 193-201, 205-206, 210, 214, 218, 222, 226, 230, 234, 238, 242, 246
paas_app_charmer/_gunicorn/charm_state.py         62      1      6      1    97%   194
paas_app_charmer/_gunicorn/observability.py       19      0      0      0   100%
paas_app_charmer/_gunicorn/secret_storage.py      13      1      0      0    92%   39
paas_app_charmer/_gunicorn/webserver.py           75      5     16      2    92%   19, 155, 167-173
paas_app_charmer/_gunicorn/wsgi_app.py            61      1     24      1    98%   80
paas_app_charmer/database_migration.py            33      0      2      0   100%
paas_app_charmer/databases.py                     36      3     13      2    90%   80, 95-96
paas_app_charmer/django/__init__.py                1      0      0      0   100%
paas_app_charmer/django/charm.py                  44     13     10      0    65%   72-77, 89, 97-114
paas_app_charmer/exceptions.py                     4      0      0      0   100%
paas_app_charmer/flask/__init__.py                 1      0      0      0   100%
paas_app_charmer/flask/charm.py                   36      0      6      0   100%
paas_app_charmer/secret_storage.py                39      6     16      4    78%   50, 54->53, 55->57, 85, 103-108
------------------------------------------------------------------------------------------
TOTAL                                            537     60    111     16    87%

Static code analysis report

Run started:2024-05-29 06:42:12.629478

Test results:
    No issues identified.

Code scanned:
    Total lines of code: 1228
    Total lines skipped (#nosec): 0
    Total potential issues skipped due to specifically being disabled (e.g., #nosec BXXX): 0

Run metrics:
    Total issues (by severity):
        Undefined: 0
        Low: 0
        Medium: 0
        High: 0
    Total issues (by confidence):
        Undefined: 0
        Low: 0
        Medium: 0
        High: 0
Files skipped (0):