Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
python-lsp-mypy
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Debian Python Team
packages
python-lsp-mypy
Commits
4d32388a
Verified
Commit
4d32388a
authored
2 years ago
by
Jochen Sprickerhof
Browse files
Options
Downloads
Patches
Plain Diff
Drop upstreamed patch
parent
cee89a60
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
debian/patches/0001-mypy-0.991-Support.patch
+0
-31
0 additions, 31 deletions
debian/patches/0001-mypy-0.991-Support.patch
debian/patches/series
+0
-1
0 additions, 1 deletion
debian/patches/series
with
0 additions
and
32 deletions
debian/patches/0001-mypy-0.991-Support.patch
deleted
100644 → 0
+
0
−
31
View file @
cee89a60
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")
This diff is collapsed.
Click to expand it.
debian/patches/series
deleted
100644 → 0
+
0
−
1
View file @
cee89a60
0001-mypy-0.991-Support.patch
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment