Skip to content
Snippets Groups Projects
Verified Commit 4d32388a authored by Jochen Sprickerhof's avatar Jochen Sprickerhof
Browse files

Drop upstreamed patch

parent cee89a60
No related branches found
No related tags found
No related merge requests found
From: Richard Kellnberger <Richard1.Kellnberger@web.de>
Date: Sun, 20 Nov 2022 13:23:20 +0100
Subject: mypy 0.991 Support
mypy now enables "--show-error-code" by default.
---
test/test_plugin.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/test/test_plugin.py b/test/test_plugin.py
index e8e197a..3c0c67b 100644
--- a/test/test_plugin.py
+++ b/test/test_plugin.py
@@ -15,7 +15,7 @@ from pylsp_mypy import plugin
DOC_URI = f"file:/{Path(__file__)}"
DOC_TYPE_ERR = """{}.append(3)
"""
-TYPE_ERR_MSG = '"Dict[<nothing>, <nothing>]" has no attribute "append"'
+TYPE_ERR_MSG = '"Dict[<nothing>, <nothing>]" has no attribute "append" [attr-defined]'
TEST_LINE = 'test_plugin.py:279:8: error: "Request" has no attribute "id"'
TEST_LINE_WITHOUT_COL = "test_plugin.py:279: " 'error: "Request" has no attribute "id"'
@@ -108,7 +108,7 @@ def foo():
return
unreachable = 1
"""
- DOC_ERR_MSG = "Statement is unreachable"
+ DOC_ERR_MSG = "Statement is unreachable [unreachable]"
# Initialize two workspace folders.
folder1 = tmpdir.mkdir("folder1")
0001-mypy-0.991-Support.patch
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment