Merge pull request #1223 from p12tic/github-mypy

.github: Run mypy as part of checks
This commit is contained in:
Povilas Kanapickas 2025-05-29 21:38:59 +03:00 committed by GitHub
commit fc6bfc9931
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -14,12 +14,19 @@ jobs:
options: --privileged --cgroupns=host
steps:
- uses: actions/checkout@v4
- name: Analysing the code with ruff
- name: Install dependencies
run: |
set -e
pip install -r test-requirements.txt
- name: Analysing the code using ruff
run: |
set -e
ruff format --check
ruff check
- name: Analysing the code using mypy
run: |
set -e
mypy .
- name: Analysing the code with pylint
run: |
pylint podman_compose.py