Skip to content

Commit 5c5a8e5

Browse files
Richardk2nStabbarN
andauthored
Update pylsp_mypy/plugin.py
Co-authored-by: StabbarN <[email protected]>
1 parent 81503ba commit 5c5a8e5

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

pylsp_mypy/plugin.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -249,8 +249,7 @@ def pylsp_lint(
249249
exit_status,
250250
errors.strip(),
251251
)
252-
subprocess.run(["dmypy", "kill"], **windows_flag)
253-
subprocess.run(["dmypy", "start"], **windows_flag)
252+
subprocess.run(["dmypy", "restart"], **windows_flag)
254253
else:
255254
# dmypy does not exist on path, but must exist in the env pylsp-mypy is installed in
256255
# -> use dmypy via api

0 commit comments

Comments
 (0)