mypy_primer icon indicating copy to clipboard operation
mypy_primer copied to clipboard

Run mypy and pyright over millions of lines of code

Results 28 mypy_primer issues
Sort by recently updated
recently updated
newest added

~I'm not totally sure if this approach always works or if there's stuff that I'm missing, but it seems to work. I'll try to explain myself here.~ ~The change utilises...

Hi! Thanks a lot for this tool! I am trying to add https://github.com/dry-python/returns support (because we have quite a lot of complex plugins). Code: ```python Project( location="https://github.com/dry-python/returns.git", mypy_cmd="{mypy} returns", pip_cmd="{pip}...

For instance repo: `https://github.com/home-assistant/core` gets a project directory named: `/tmp/mypy_primer/projects/core` It's probably not too difficult to generate a directory named `home-assistant-core` or similar

`setuptools` & `pkg_resources` are important users of the stdlib, and are checking against mypy as of https://github.com/pypa/setuptools/pull/4257 We can also use `setuptools`' own tests to validate `types-setuptools` changes

pywin32 is checked with pyright and mypy as of https://github.com/mhammond/pywin32/pull/2102 and is itself the biggest user of types-pywin32 C-module extension stubs. It's also a strong user of setuptools & distutils....

https://github.com/lsst/daf_butler https://github.com/python/mypy/issues/17002

Looks like it could get us better coverage for `types-html5lib` at typeshed: https://github.com/python/typeshed/issues/11478

Would it be possible to add Keylime to the list of type-checked projects? Url: https://github.com/keylime/keylime.git Requirements.txt: ./requirements.txt and ./test-requirements.txt and ./ test/test-requirements.txt It should pass cleanly for mypy (1 error...

This was a rudimentary way of having multiple mypy commands per project (as needed here). It might be more elegant to have multiple mypy_cmd within a project, but it seemed...