Skip to content

Commit 534a971

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

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
@@ -260,8 +260,7 @@ def pylsp_lint(
260260
exit_status,
261261
errors.strip(),
262262
)
263-
mypy_api.run_dmypy(["kill"])
264-
mypy_api.run_dmypy(["start"])
263+
mypy_api.run_dmypy(["restart"])
265264

266265
# run to use existing daemon or restart if required
267266
args = ["run", "--"] + apply_overrides(args, overrides)

0 commit comments

Comments
 (0)