-
Notifications
You must be signed in to change notification settings - Fork 43
54 lines (43 loc) · 1.2 KB
/
mypy.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
name: mypy
on:
push:
pull_request:
jobs:
mypy_splat_checks:
runs-on: ubuntu-latest
name: mypy splat lib
steps:
- name: Checkout repo
uses: actions/checkout@v4
- name: Set up Python 3.8
uses: actions/setup-python@v5
with:
python-version: 3.8
- name: Install Dependencies
run: |
pip install mypy
pip install -r requirements.txt
pip install types-PyYAML
- name: mypy splat lib
run: mypy --show-column-numbers --hide-error-context src/splat
mypy_programs_checks:
runs-on: ubuntu-latest
name: mypy splat programs
steps:
- name: Checkout repo
uses: actions/checkout@v4
- name: Set up Python 3.8
uses: actions/setup-python@v5
with:
python-version: 3.8
- name: Install Dependencies
run: |
pip install mypy
pip install -r requirements.txt
pip install types-PyYAML
- name: mypy split
run: mypy --show-column-numbers --hide-error-context split.py
- name: mypy create_config
run: mypy --show-column-numbers --hide-error-context create_config.py
- name: mypy test
run: mypy --show-column-numbers --hide-error-context test.py