Skip to content

Commit 3a5fb2f

Browse files
ricardoV94michaelosthege
authored andcommitted
Add mypy dependency to dev and test environments
1 parent 305cb5f commit 3a5fb2f

File tree

6 files changed

+10
-1
lines changed

6 files changed

+10
-1
lines changed

.github/workflows/pre-commit.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,6 @@ jobs:
5858
conda activate pymc-test
5959
pip install -e .
6060
pip install --pre -U polyagamma
61-
pip install mypy types-cachetools
6261
python --version
6362
- name: Run mypy
6463
run: |

conda-envs/environment-dev.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,3 +38,5 @@ dependencies:
3838
- watermark
3939
- polyagamma
4040
- sphinx-remove-toctrees
41+
- mypy
42+
- types-cachetools

conda-envs/environment-test.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,5 @@ dependencies:
2727
- pre-commit>=2.8.0
2828
- pytest-cov>=2.5
2929
- pytest>=3.0
30+
- mypy
31+
- types-cachetools

conda-envs/windows-environment-dev.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,3 +35,5 @@ dependencies:
3535
- sphinx>=1.5
3636
- watermark
3737
- sphinx-remove-toctrees
38+
- mypy
39+
- types-cachetools

conda-envs/windows-environment-test.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,3 +28,5 @@ dependencies:
2828
- pre-commit>=2.8.0
2929
- pytest-cov>=2.5
3030
- pytest>=3.0
31+
- mypy
32+
- types-cachetools

requirements-dev.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ fastprogress>=0.2.0
1010
h5py>=2.7
1111
ipython>=7.16
1212
jupyter-sphinx
13+
mypy
1314
myst-nb
1415
numpy>=1.15.0
1516
numpydoc
@@ -26,5 +27,6 @@ sphinx-notfound-page
2627
sphinx-remove-toctrees
2728
sphinx>=1.5
2829
sphinxext-rediraffe
30+
types-cachetools
2931
typing-extensions>=3.7.4
3032
watermark

0 commit comments

Comments
 (0)