mirror of
https://github.com/containers/podman-compose.git
synced 2025-06-18 10:57:04 +02:00
Merge pull request #1223 from p12tic/github-mypy
.github: Run mypy as part of checks
This commit is contained in:
commit
fc6bfc9931
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