Skip to content

Commit cb58fde

Browse files
authored
fix: freeze mypy (#5634)
* update mypy for tests * freeze
1 parent f0fafa2 commit cb58fde

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

.github/workflows/code-formatting.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ jobs:
6969
python-version: 3.8
7070
- name: Install mypy
7171
run: |
72-
pip install mypy
72+
pip install "mypy==0.790"
7373
pip list
7474
- name: mypy check
7575
run: |

requirements/test.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ scikit-learn>=0.22.2
1212
scikit-image>=0.17.2
1313
black>=20.8b1
1414
isort>=5.6.4
15-
mypy>=0.720
15+
mypy>=0.720, <0.800
1616
pre-commit>=1.0
1717

1818
cloudpickle>=1.3

setup.cfg

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@ omit =
5050
pytorch_lightning/accelerators/tpu_*.py
5151
pytorch_lightning/cluster_environments/*.py
5252
pytorch_lightning/overrides/data_parallel.py
53-
pytorch_lightning/metrics
5453
pytorch_lightning/utilities/xla_device_utils.py
5554
pytorch_lightning/utilities/distributed.py
5655
pytorch_lightning/tuner/auto_gpu_select.py

0 commit comments

Comments
 (0)