Skip to content
Triggered via push December 18, 2024 10:38
Status Failure
Total duration 47s
Artifacts

action.yml

on: push
LintsBlack
9s
LintsBlack
LintsFlake8
6s
LintsFlake8
LintsIsort
7s
LintsIsort
LintsMyPy
36s
LintsMyPy
Fit to window
Zoom out
Zoom in

Annotations

15 errors and 2 warnings
LintsFlake8
The process '/home/runner/.local/bin/flake8' failed with exit code 1
LintsIsort: app/main.py#L1
Imports are incorrectly sorted and/or formatted.
LintsIsort: app/models.py#L1
Imports are incorrectly sorted and/or formatted.
LintsIsort
Process completed with exit code 1.
LintsBlack
Process completed with exit code 1.
LintsMyPy: app/models.py#L1
Cannot find implementation or library stub for module named "sqlalchemy" [import-not-found]
LintsMyPy: app/models.py#L2
Cannot find implementation or library stub for module named "sqlalchemy.dialects.postgresql" [import-not-found]
LintsMyPy: app/models.py#L3
Cannot find implementation or library stub for module named "sqlalchemy.orm" [import-not-found]
LintsMyPy: app/main.py#L3
Library stubs not installed for "requests" [import-untyped]
LintsMyPy: app/main.py#L3
Hint: "python3 -m pip install types-requests"
LintsMyPy: app/main.py#L3
(or run "mypy --install-types" to install all missing stub packages)
LintsMyPy: app/main.py#L4
Cannot find implementation or library stub for module named "sqlalchemy" [import-not-found]
LintsMyPy: app/main.py#L5
Cannot find implementation or library stub for module named "sqlalchemy.orm" [import-not-found]
LintsMyPy: app/main.py#L5
See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports
LintsMyPy: app/main.py#L6
Cannot find implementation or library stub for module named "flask" [import-not-found]
LintsFlake8
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
LintsMyPy
Unexpected input(s) 'mypy_flags', valid inputs are ['path', 'mypy_version', 'mypy_config_file', 'mypy_options', 'requirements', 'requirement_files', 'python_version']