Skip to content

Commit 788c75a

Browse files
committed
Temporary fix to make tests run smoothly
As far as I can tell, mypy does not handle unreachable warnings (which are used in some of the tests) correctly in version 0.920, therefore a version before that is enforced for now.
1 parent 299f46b commit 788c75a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
python-lsp-server
2-
mypy
2+
mypy < 0.920
33
black
44
pre-commit
55
rstcheck

setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ python_requires = >= 3.6
2121
packages = find:
2222
install_requires =
2323
python-lsp-server
24-
mypy
24+
mypy < 0.920
2525

2626

2727
[options.entry_points]

0 commit comments

Comments
 (0)