-
Notifications
You must be signed in to change notification settings - Fork 940
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
mypy, acting different. #1415
Comments
Hmm, the CI is correct. I'll see if I can checkout the PR branch and reproduce. Sometimes mypy caches in a way I don't fully understand. |
Be aware that I corrected those 2 lines in the pr. You can simply change List to list, in those 2 lines and test. You can run CI on a branch. |
OK, figured it out. https://peps.python.org/pep-0585/
If you want |
Which would require having 3.8 installed, so lets not make that change. I was actually looking to understand why, and you have explained it very nicely, thanks a lot. |
In pull request #1413 mypy is behaving differently in CI vs. ./check_ci.sh
./check_ci.sh do not report any problems, but mypy in the CI reports:
It would be nice if the checks could be identical.
The text was updated successfully, but these errors were encountered: