boundless-zebra-79556
09/27/2022, 8:35 PMmypy
check with pants. On my console it works fine. But on GitHub Action, I get this weird error message:
Error: 9.77 [ERROR] Completed: Typecheck using MyPy - mypy failed (exit code 2).
.cache/pex_root/venvs/2dc0bc0943d3614000af98704b489da83561978d/f8dfd366c5bae0ea109e2675cda4aa418ef670f0/lib/python3.10/site-packages/numpy/__init__.pyi:636: error: Positional-only parameters are only supported in Python 3.8 and greater
It's weird because I'm using Python 3.10, and pants should be able to infer the version, right? Also weird that its checking a third-party package. I'm using pants 2.13.0 and mypy.ini settings are:
[mypy]
namespace_packages = true
explicit_package_bases = true
ignore_missing_imports = true
wide-midnight-78598
09/27/2022, 9:03 PMmypy
might be weird, because I don't know what their breaking change policy is - as in, are they modifying checks that can break Pants user's CI?boundless-zebra-79556
09/27/2022, 10:19 PM