Anki/python/stubs
Damien Elmes 1315a3a3bb update mypy and mypy-protobuf
- The way mypy gathers site packages has changed slightly, so we had to
update extendsitepkgs.py to work with it.
- Not sure if there's a way to avoid the ignore in
operations/__init__.py. mypy is still ensuring a provided argument has
a .changes attribute, so thankfully we don't seem to have lost much here.
2022-01-15 16:04:04 +10:00
..
BUILD.bazel run buildifier/buildozer to tidy up BUILD files 2021-12-14 09:18:24 +10:00
extendsitepkgs.py update mypy and mypy-protobuf 2022-01-15 16:04:04 +10:00
gatherstubs.py pip/ -> python/ 2021-10-18 19:50:40 +10:00
README.md pip/ -> python/ 2021-10-18 19:50:40 +10:00
stubs.bzl pip/ -> python/ 2021-10-18 19:50:40 +10:00

mypy 0.9 assumes stub files will be installed in site-packages, but they are not in Bazel's case, so we need to hack around the issue.