You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In this run and others, the mypy test is failing with:
================================== FAILURES ===================================
_____________________________ tests\test_main.py ______________________________
409: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs [annotation-unchecked]
On the non-Windows tests, the same message is shown as a warning:
=============================== warnings summary ===============================
tests/test_main.py::mypy
/home/runner/work/importlib_metadata/importlib_metadata/.tox/py/lib/python3.11/site-packages/pytest_mypy.py:212: MypyWarning:
409: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs [annotation-unchecked]
warnings.warn("\n" + "\n".join(errors), MypyWarning) # pragma: no cover
Dear god, why?
The text was updated successfully, but these errors were encountered:
For what it's worth, I don't encounter the error when testing on my Windows machine, so the difference between Windows and non-Windows appears to be in how the CI is configured... which seems really unlikely, given that tox filters most environment variables. Doesn't matter - the warning and error are both addressed by adding more redundant typing info.
In this run and others, the mypy test is failing with:
On the non-Windows tests, the same message is shown as a warning:
Dear god, why?
The text was updated successfully, but these errors were encountered: