Skip to content

Commit 9585d1b

Browse files
authored
Merge pull request #11 from ewoks-kit/mypy-job
Add mypy job to python-check
2 parents 4586970 + b0c1db1 commit 9585d1b

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

.github/workflows/python-check.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,10 @@ on:
3131
type: string
3232
default: "false"
3333

34+
enable-mypy:
35+
type: string
36+
default: "false"
37+
3438
jobs:
3539
checks:
3640
name: Python Lint & Style & Security
@@ -86,3 +90,9 @@ jobs:
8690
run: |
8791
pip install "bandit[toml]"
8892
bandit -c pyproject.toml -r .
93+
94+
- name: mypy
95+
if: inputs.enable-mypy == 'true'
96+
run: |
97+
pip install mypy
98+
mypy .

0 commit comments

Comments
 (0)