anki/pylib
Arthur Milchior fcfa78bba3 Hook card_is_being_flushed
It often arrives that I want to know when a card is going to be
flushed and in this case change it.

This could be the case if I want to change the scheduler without
implementing a whole scheduler. It simply reads the card history and
change interval and due date.

It's also the case for the "'trigger -> action' rules", which apply
some coded actions when some event occurs. E.g. suspend/unsuspend a
sibling when card become mature/is forgotten.
2020-02-14 00:59:32 -08:00
..
anki Hook card_is_being_flushed 2020-02-14 00:59:32 -08:00
tests QUEUE and TYPE day learn, relearn 2020-02-04 08:47:36 -08:00
tools Hook card_is_being_flushed 2020-02-14 00:59:32 -08:00
.gitignore tweaking the folder names again 2020-01-03 07:48:38 +10:00
.isort.cfg tweaking the folder names again 2020-01-03 07:48:38 +10:00
.pylintrc tweaking the folder names again 2020-01-03 07:48:38 +10:00
Makefile clean stale build folders before build 2020-01-15 10:07:39 +10:00
mypy.ini check_untyped_defs in mypy for pylib 2020-01-16 08:10:49 +10:00
requirements.dev switch to classes for hooks 2020-01-14 08:54:07 +10:00
setup.py include py.typed for mypy 2020-01-13 21:18:03 +10:00