module documentation
(source)

Shared code between dmypy.py and dmypy_server.py.

This should be pretty lightweight and not depend on other mypy code (other than ipc).

Function receive Receive JSON data from a connection until EOF.
Constant DEFAULT​_STATUS​_FILE Undocumented
def receive(connection): (source)

Receive JSON data from a connection until EOF.

Raise OSError if the data received is not valid JSON or if it is not a dict.

Parameters
connection:IPCBaseUndocumented
Returns
AnyUndocumented
DEFAULT_STATUS_FILE: str = (source)

Undocumented

Value
'.dmypy.json'