mirror of
https://github.com/ankitects/anki.git
synced 2025-11-06 12:47:11 -05:00
- 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. |
||
|---|---|---|
| .. | ||
| BUILD.bazel | ||
| extendsitepkgs.py | ||
| gatherstubs.py | ||
| README.md | ||
| stubs.bzl | ||
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.