Skip to content

Commit 959ed73

Browse files
committed
Fix mypy runner
1 parent 373552c commit 959ed73

2 files changed

Lines changed: 10 additions & 5 deletions

File tree

.github/workflows/test.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -110,13 +110,12 @@ jobs:
110110
- name: Build distribution
111111
run: uv build
112112

113-
- name: Install package with mypy
113+
- name: Install package with test dependencies
114114
run: |
115115
uv pip install --system dist/*.whl
116-
uv pip install --system mypy
117116
uv pip install --system -e ".[test]"
118117
119-
- run: mypy --install-types --non-interactive commcare_export/ tests/ migrations/
118+
- run: mypy commcare_export/ tests/
120119

121120
finish:
122121
needs: test

pyproject.toml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,10 +49,16 @@ dependencies = [
4949

5050
[project.optional-dependencies]
5151
test = [
52+
"mock",
53+
"mypy",
54+
"psycopg2-binary",
5255
"pytest",
5356
"pytest-unmagic",
54-
"psycopg2-binary",
55-
"mock",
57+
"types-mock",
58+
"types-python-dateutil",
59+
"types-pytz",
60+
"types-requests",
61+
"types-simplejson",
5662
]
5763
base_sql = [
5864
"SQLAlchemy",

0 commit comments

Comments
 (0)