mirror of
https://github.com/ankitects/anki.git
synced 2025-11-06 12:47:11 -05:00
An example of how we can start migrating the codebase to PEP8: - enable invalid-name at the top - use bazel run pylib:pylint to identify names that need renaming - use PyCharm or similar to rename the functions/variables - in the cases where the conversion is not just snake_case, use .register_deprecated_aliases() + removed the __repr__() definition, it dumps all the note content and obscures the error message |
||
|---|---|---|
| .. | ||
| anki | ||
| rsbridge | ||
| tests | ||
| tools | ||
| .gitignore | ||
| .isort.cfg | ||
| .pylintrc | ||
| BUILD.bazel | ||
| mypy.ini | ||
| orjson.bzl | ||
| protobuf.bzl | ||
| README.md | ||
Anki's Python library code is in anki/.
The Rust/Python extension module is in rsbridge/; it references the library defined in ../rslib.