mirror of
https://github.com/containers/podman-compose.git
synced 2025-06-12 07:56:43 +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
|
options: --privileged --cgroupns=host
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- name: Analysing the code with ruff
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
set -e
|
set -e
|
||||||
pip install -r test-requirements.txt
|
pip install -r test-requirements.txt
|
||||||
|
- name: Analysing the code using ruff
|
||||||
|
run: |
|
||||||
|
set -e
|
||||||
ruff format --check
|
ruff format --check
|
||||||
ruff check
|
ruff check
|
||||||
|
- name: Analysing the code using mypy
|
||||||
|
run: |
|
||||||
|
set -e
|
||||||
|
mypy .
|
||||||
- name: Analysing the code with pylint
|
- name: Analysing the code with pylint
|
||||||
run: |
|
run: |
|
||||||
pylint podman_compose.py
|
pylint podman_compose.py
|
||||||
|
Loading…
x
Reference in New Issue
Block a user