mirror of
https://github.com/containers/podman-compose.git
synced 2025-06-10 23:17:09 +02:00
.github: Run mypy as part of checks
Signed-off-by: Povilas Kanapickas <povilas@radix.lt>
This commit is contained in:
parent
b650efbb33
commit
949af2a50c
9
.github/workflows/static-checks.yml
vendored
9
.github/workflows/static-checks.yml
vendored
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user