Skip to content

Merge ert storage #9422

Merge ert storage

Merge ert storage #9422

Triggered via pull request September 22, 2023 10:27
Status Success
Total duration 3m 22s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

annotate_python.yml

on: pull_request
annotate-python-linting
3m 13s
annotate-python-linting
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 3 warnings
annotate-python-linting: src/ert/dark_storage/app.py#L4
'fastapi.openapi.docs.get_redoc_html' imported but unused
annotate-python-linting: src/ert/dark_storage/app.py#L4
'fastapi.openapi.docs.get_swagger_ui_html' imported but unused
annotate-python-linting: src/ert/dark_storage/app.py#L5
'fastapi.responses.HTMLResponse' imported but unused
annotate-python-linting: src/ert/dark_storage/app.py#L16
undefined name 'Any'
annotate-python-linting: src/ert/dark_storage/app.py#L16
undefined name 'Any'
annotate-python-linting: src/ert/dark_storage/app.py#L17
undefined name 'Enum'
annotate-python-linting: src/ert/dark_storage/app.py#L22
undefined name 'Response'
annotate-python-linting: src/ert/dark_storage/app.py#L27
undefined name 'Any'
annotate-python-linting: src/ert/dark_storage/app.py#L42
undefined name '__version__'
annotate-python-linting: src/ert/dark_storage/compute/__init__.py#L1
'.misfits.calculate_misfits_from_pandas' imported but unused
annotate-python-linting: src/ert/dark_storage/json_schema/update.py#L11
Use 'Optional[UUID]' instead of 'Union[UUID, None]'
annotate-python-linting: src/ert/dark_storage/json_schema/update.py#L12
Use 'Optional[UUID]' instead of 'Union[UUID, None]'
annotate-python-linting: src/ert/dark_storage/security.py#L11
Do not perform function calls in argument defaults. The call is performed only once at function definition time. All calls to your function will reuse the result of that definition-time function call. If this is intended, assign the function call to a module-level variable and use that variable as a default value.