-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Regression on master
: mypy unconditionally crashes when used with --enable-error-code
for multiple error codes
#13521
New issue
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
Labels
Comments
|
master
: mypy unconditionally crashes when used with --enable-error-code ignore-without-code
master
: mypy unconditionally crashes when used with --enable-error-code
master
: mypy unconditionally crashes when used with --enable-error-code
master
: mypy unconditionally crashes when used with --enable-error-code
for multiple error codes
Yeah, I was too lazy to add an incremental test. Need to convert those codes to strings when serializing |
ilevkivskyi
added a commit
that referenced
this issue
Aug 26, 2022
ilevkivskyi
added a commit
that referenced
this issue
Sep 9, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Crash Report
On the
master
branch, mypy unconditionally crashes if used with the command-line options--enable-error-code ignore-without-code
. I've bisected the regression to:Traceback
To Reproduce
cd
into a local clone of mypy, activate a local environment with an editable install of mypy.master
branch.mypy --enable-error-code ignore-without-code
on any repository. I've reproduced it using the selfcheck (python -m mypy --config-file mypy_self_check.ini -p mypy --enable-error-code ignore-without-code
) and also on my local clone offlake8-pyi
, which has theignore-without-code
error code enabled as part of its default mypy configuration.The text was updated successfully, but these errors were encountered: