-
Notifications
You must be signed in to change notification settings - Fork 5
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
Should we enforce type checking in CI? #321
Comments
An in-person discussion is probably better here. We talked about this several times, and the conclusion was that for now, we felt getting That decision wasn't final, and we are maybe slowly changing our minds on this. In any case, I think the state of the type-hinting on Plopp is far from perfect/complete, and definitely needs work. |
Just ran on
|
Unfortunately, this seems to be a consequence of scipp/scipp#3344. Mypy in general does not play well with code that is not part of a package. Another problem is that we cannot specify suppressions for tests. E.g., allowing untyped functions so we don't have to put So I'd say we either use manual workarounds (like excluding one |
There are type annotations in the codebase but it is not being enforced. Running
python -m mypy .
fails withThe text was updated successfully, but these errors were encountered: