Skip to content

Commit 88965e7

Browse files
chore: add missing config setting and allow mypy 0.920
1 parent a5f340e commit 88965e7

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-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 < 0.920
2+
mypy
33
black
44
pre-commit
55
rstcheck

test/test_plugin.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,9 @@ def foo():
103103

104104
# Create configuration file for workspace folder 1.
105105
mypy_config = folder1.join("mypy.ini")
106-
mypy_config.write("[mypy]\nwarn_unreachable = True")
106+
mypy_config.write(
107+
"[mypy]\nwarn_unreachable = True\ncheck_untyped_defs = True"
108+
)
107109

108110
# Initialize settings for both folders.
109111
plugin.pylsp_settings(ws1._config)

0 commit comments

Comments
 (0)