From d5f0de5985558d0f0850feb298e7bd5f1b8ec667 Mon Sep 17 00:00:00 2001 From: Gabriel Linder Date: Fri, 8 Nov 2024 10:31:40 +0100 Subject: [PATCH 1/2] Fix typo. Signed-off-by: Gabriel Linder --- README.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.rst b/README.rst index f871082..ffd06c7 100644 --- a/README.rst +++ b/README.rst @@ -76,7 +76,7 @@ Configuration * - ``follow-imports`` - ``pylsp.plugins.pylsp_mypy.follow-imports`` - ``normal``, ``silent``, ``skip`` or ``error`` - - ``mypy`` **parameter** ``follow-imports``. In ``mypy`` this is ``normal`` by default. We set it ``silent``, to sort out unwanted results. This can cause cash invalidation if you also run ``mypy`` in other ways. Setting this to ``normal`` avoids this at the cost of a small performance penalty. + - ``mypy`` **parameter** ``follow-imports``. In ``mypy`` this is ``normal`` by default. We set it ``silent``, to sort out unwanted results. This can cause cache invalidation if you also run ``mypy`` in other ways. Setting this to ``normal`` avoids this at the cost of a small performance penalty. - ``silent`` Using a ``pyproject.toml`` for configuration, which is in fact the preferred way, your configuration could look like this: From 99ba4feb8edc1587adcdfbde7669e54cd8afa608 Mon Sep 17 00:00:00 2001 From: Gabriel Linder Date: Fri, 8 Nov 2024 10:32:04 +0100 Subject: [PATCH 2/2] Quote file name. Signed-off-by: Gabriel Linder --- README.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.rst b/README.rst index ffd06c7..19206a4 100644 --- a/README.rst +++ b/README.rst @@ -90,7 +90,7 @@ Using a ``pyproject.toml`` for configuration, which is in fact the preferred way exclude = ["tests/*"] A ``pyproject.toml`` does not conflict with the legacy config file (deprecated) given that it does not contain a ``pylsp-mypy`` section. The following explanation uses the syntax of the legacy config file (deprecated). However, all these options also apply to the ``pyproject.toml`` configuration (note the lowercase bools). -Depending on your editor, the configuration (found in a file called pylsp-mypy.cfg in your workspace or a parent directory) should be roughly like this for a standard configuration: +Depending on your editor, the configuration (found in a file called ``pylsp-mypy.cfg`` in your workspace or a parent directory) should be roughly like this for a standard configuration: ::