From ae036bd6fdcef2df1fd81b758dd28cd5f166bb77 Mon Sep 17 00:00:00 2001 From: Alan Du Date: Wed, 17 May 2023 12:44:33 -0400 Subject: [PATCH 1/2] Add `--local-partial-types` note to dmypy docs --- docs/source/mypy_daemon.rst | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/source/mypy_daemon.rst b/docs/source/mypy_daemon.rst index ec12283ea3bb..9dde9b9f18b5 100644 --- a/docs/source/mypy_daemon.rst +++ b/docs/source/mypy_daemon.rst @@ -24,6 +24,10 @@ you'll find errors sooner. The command-line interface of mypy daemon may change in future mypy releases. +.. note:: + + The mypy daemon automatically enables ``--local-partial-types`` by default. + .. note:: Each mypy daemon process supports one user and one set of source files, From 97445c59ba375ec8e0d403ea19069c65691241bd Mon Sep 17 00:00:00 2001 From: Alan Du Date: Thu, 18 May 2023 11:47:19 -0400 Subject: [PATCH 2/2] Move note --- docs/source/mypy_daemon.rst | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/docs/source/mypy_daemon.rst b/docs/source/mypy_daemon.rst index 9dde9b9f18b5..7586026b6c81 100644 --- a/docs/source/mypy_daemon.rst +++ b/docs/source/mypy_daemon.rst @@ -24,10 +24,6 @@ you'll find errors sooner. The command-line interface of mypy daemon may change in future mypy releases. -.. note:: - - The mypy daemon automatically enables ``--local-partial-types`` by default. - .. note:: Each mypy daemon process supports one user and one set of source files, @@ -63,6 +59,11 @@ you have a large codebase.) back to the stable functionality. See :ref:`follow-imports` for details on how these work. +.. note:: + + The mypy daemon automatically enables ``--local-partial-types`` by default. + + Daemon client commands **********************