From 949af2a50c5b401e6e09adc48a328950a56d1fbc Mon Sep 17 00:00:00 2001 From: Povilas Kanapickas Date: Thu, 29 May 2025 21:21:56 +0300 Subject: [PATCH] .github: Run mypy as part of checks Signed-off-by: Povilas Kanapickas --- .github/workflows/static-checks.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/static-checks.yml b/.github/workflows/static-checks.yml index b0c13d2..89c2f05 100644 --- a/.github/workflows/static-checks.yml +++ b/.github/workflows/static-checks.yml @@ -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