Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2023-11-26 | fix broken type annotation imports being ignored | Eli Schwartz | 1 | -1/+1 | |
If an annotation could not be resolved, it's classified as a "missing import" and our configuration ignored it: ``` Skipping analyzing "mesonbuild.backends": module is installed, but missing library stubs or py.typed marker ``` As far as mypy is concerned, this library may or may not exist, but it doesn't have any typing information at all (may need to be installed first). We ignored this because of our docs/ and tools/ thirdparty dependencies, but we really should not. It is trivial to install them, and then enforce that this "just works". By enforcing it, we also make sure typos get caught. | |||||
2023-07-19 | fix implicit_reexport issues and enforce them going forward | Eli Schwartz | 1 | -0/+1 | |
This detects cases where module A imports a function from B, and C imports that same function from A instead of B. It's not part of the API contract of A, and causes innocent refactoring to break things. | |||||
2020-09-08 | typing: use follow_imports = silent | Daniel Mensinger | 1 | -1/+1 | |
2020-09-08 | typing: update run_mypy and mypy.ini | Daniel Mensinger | 1 | -4/+22 | |
2020-07-12 | refactor: name .mypy.ini to reduce visual clutter | Michael Hirsch | 1 | -0/+5 | |
MyPy looks to .mypy.ini, reducing Meson top-level visual clutter https://mypy.readthedocs.io/en/stable/config_file.html |