From 1445bcca9b33f80b13ec1dc7d057bf82300f51b8 Mon Sep 17 00:00:00 2001 From: n4nn31355 Date: Fri, 16 Apr 2021 20:06:06 +0300 Subject: [PATCH 1/2] Add workaround for truncated mypy output #13381 https://github.com/microsoft/vscode-python/issues/13381 --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index e632aea99330..056eab146125 100644 --- a/package.json +++ b/package.json @@ -1388,7 +1388,8 @@ "default": [ "--ignore-missing-imports", "--follow-imports=silent", - "--show-column-numbers" + "--show-column-numbers", + "--no-pretty" ], "items": { "type": "string" From d58067705d0bb82c713cb0e193d10be62f8fe66b Mon Sep 17 00:00:00 2001 From: n4nn31355 Date: Mon, 3 May 2021 21:11:08 +0300 Subject: [PATCH 2/2] Add news file for #13381 workaround --- news/2 Fixes/13381-workaround.md | 1 + 1 file changed, 1 insertion(+) create mode 100644 news/2 Fixes/13381-workaround.md diff --git a/news/2 Fixes/13381-workaround.md b/news/2 Fixes/13381-workaround.md new file mode 100644 index 000000000000..35e0295ce3ed --- /dev/null +++ b/news/2 Fixes/13381-workaround.md @@ -0,0 +1 @@ +Update default mypy arguments to avoid truncated messages. (thanks [n4nn31355](https://github.com/n4nn31355))