Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 5801678

Browse files
committed
Document new force_base_ipc_request toggle option
1 parent 97a2236 commit 5801678

1 file changed

Lines changed: 11 additions & 3 deletions

File tree

README.md

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -106,9 +106,17 @@ definition
106106
`timeout_mins` controls how long the mypy daemon will time out after,
107107
in minutes.
108108

109-
`should_restart_always` toggles if extension should restart dmypy daemon
110-
before every run. May be helpful in some cases because of issues with
111-
errors not being reported on subsequent runs.
109+
`should_restart_always` toggles if the extension should restart dmypy
110+
daemon before every run. May be helpful in some cases because of issues
111+
with errors not being reported on subsequent runs, but this will slow
112+
things down a lot.
113+
114+
`force_base_ipc_request` toggles if the extension should force using
115+
mypy's provided inner process communication (IPC) module instead of
116+
reimplementing IPC messaging but asynchronously from scratch. Note, this
117+
is only effective on non-windows devices, because the way mypy does IPC
118+
on windows is really complicated and doesn't have any benefits being
119+
reimplemented over just using `trio.wrap_file`.
112120

113121
## Annotating files from mypy error logs
114122
I kept running into cases a lot where CI systems generate mypy error logs, and

0 commit comments

Comments
 (0)