Closed JelleZijlstra closed 2 years ago
Also, we could filter out line numbers from tracebacks.
Somewhat unrelated: What about always reporting crashes, even if they happen with old mypy? These are usually something we'd want to fix quickly.
Makes sense, although the current lack of stacktrace special casing effectively amounts to "always report crashes".
The arviz crash is something I added to mypy_primer this week: we've had multiple crashes in the past reported by people using the xarray
library so I went looking for projects that would give us better coverage of that.
I pushed b4e8559 to normalise filenames. So for typeshed's CI should no longer see mypy crashes (that were not caused by the relevant typeshed change).
Given this, I'll probably add an option to always report a crash, since for mypy's CI, we're still very interested in seeing all crashes. However this is low pri:
Reference: https://github.com/python/mypy/pull/10686#issuecomment-905110424
It would be nice if mypy-primer didn't tell us that the stacktrace for a crash now uses "new_mypy" instead of "old_mypy" in its path, or that the version of mypy changed due to a new commit hash.