We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
type-arg
Bug Report
Inspired by #18530, I tried using --pretty on a file with [type-arg]. Unfortunately the output isn't immediately understandable.
--pretty
[type-arg]
To Reproduce
import typing x: typing.List[typing.List[int, int]] = []
Expected Behavior
repro.py:3: error: "list" expects 1 type argument, but 2 given [type-arg] x: typing.List[typing.List[int, int]] = [] ^~~~~~~~~~~~~~~~~~~~~ Found 1 error in 1 file (checked 1 source file)
Actual Behavior
repro.py:3: error: "list" expects 1 type argument, but 2 given [type-arg] x: typing.List[typing.List[int, int]] = [] ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Found 1 error in 1 file (checked 1 source file)
Your Environment
--warn-unreachable
mypy.ini
The text was updated successfully, but these errors were encountered:
mypy
List
list
Start using end columns more
a2f6aa2
Specifically, this addresses python#18531
82f4e88
Successfully merging a pull request may close this issue.
Bug Report
Inspired by #18530, I tried using
--pretty
on a file with[type-arg]
. Unfortunately the output isn't immediately understandable.To Reproduce
Expected Behavior
Actual Behavior
Your Environment
--warn-unreachable
mypy.ini
(and other config files): none, I thinkThe text was updated successfully, but these errors were encountered: