hauntsaninja / mypy_primer

Run mypy and pyright over millions of lines of code
MIT License
57 stars 30 forks source link

The porcupine project is broken with mypy github master #6

Closed JukkaL closed 3 years ago

JukkaL commented 3 years ago

The value of custom_typeshed_dir is incorrect in porcupine, and the latest mypy complains about it:

$ cat porcupine/mypy.ini
[mypy]
warn_unused_configs = True
warn_unused_ignores = True
disallow_untyped_defs = True
show_error_codes = True
custom_typeshed_dir = typeshed

The directory typeshed is actually empty.

Here's the failure: https://github.com/python/mypy/pull/9984/checks?check_run_id=1779046241

Also the error reporting is not super clear. It would be good to give the name of the project that is failing prominently.

hauntsaninja commented 3 years ago

Thanks for reporting! Fixed on master. The error reporting was an issue with mypy_primer trying too hard to validate mypy output. I've removed that since it's not useful.