anki/pylib
Damien Elmes b466f0ce90 rework undo
- use dataclasses for the review/checkpoint undo cases, instead of the
nasty ad-hoc list structure
- expose backend review undo to Python, and hook it into GUI
- redo is not currently exposed on the GUI, and the backend can only
cope with reviews done by the new scheduler at the moment
- the initial undo prototype code was bumping mtime/usn on undo, but
that was not ideal, as it was breaking the queue handling which expected
the mtime to match. The original rationale for bumping mtime/usn was
to avoid problems with syncing, but various operations like removing
a revlog can't be synced anyway - so we just need to ensure we clear the
undo queue prior to syncing
2021-03-10 11:47:53 +10:00
..
anki rework undo 2021-03-10 11:47:53 +10:00
rsbridge implement leech handling 2021-02-23 17:35:20 +10:00
tests switch to 4 buttons when previewing in test scheduler 2021-03-01 23:47:00 +10:00
tools update to latest mypy_protobuf 2021-02-03 13:31:52 +10:00
.gitignore symlink generated .py/.pyi into tree to fix Python code completion 2020-12-16 11:36:42 +10:00
.isort.cfg start work on more clearly defining backend/protobuf boundaries 2021-01-31 18:55:45 +10:00
.pylintrc plug new answering code in 2021-02-22 21:31:53 +10:00
BUILD.bazel format_fix -> format; rename svelte-check for consistency 2020-11-12 20:19:32 +10:00
mypy.ini add more typing, and enable checks for missing types for most of pylib 2021-01-31 21:38:36 +10:00
orjson.bzl Make orjson optional again 2021-01-07 09:44:40 +10:00
protobuf.bzl update mypy and other Python deps 2021-02-01 15:50:04 +10:00
README.md minor doc updates 2020-12-11 22:37:12 +10:00

Anki's Python library code is in anki/.

The Rust/Python extension module is in rsbridge/; it references the library defined in ../rslib.