Skip to content

Commit 7a1cfb3

Browse files
committed
Add type checking with mypy to CI
1 parent 4df8348 commit 7a1cfb3

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/test.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ jobs:
5858
python -m pip install -U wheel
5959
python -m pip install -U pytest
6060
python -m pip install "numpy==${{ matrix.numpy-version }}"
61+
python -m pip install -U mypy
6162
6263
- name: Install
6364
run: |
@@ -67,3 +68,7 @@ jobs:
6768
run: |
6869
PY_IGNORE_IMPORTMISMATCH=1 pytest
6970
python -m doctest README.rst
71+
72+
- name: Check type information
73+
run: |
74+
mypy quantities

0 commit comments

Comments
 (0)