anki/pylib
Damien Elmes f900f24f60 more changes to the template code
- _renderQA() has moved to template.py:render_card()
- dropped QAData in favour of a properly typed dict
- render_card() returns a TemplateRenderOutput struct instead of a dict
- card_did_render now takes that output as the first arg, and can
mutate it
- TemplateRenderContext now stores the original card, so it can return
a card even in the add screen case

The old mungeFields and mungeQA hook have been removed as part of this
change. mungeQA can be replaced with the card_did_render hook.
In the mungeFields case, please switch to using field_filter instead.
2020-01-24 13:44:13 +10:00
..
anki more changes to the template code 2020-01-24 13:44:13 +10:00
tests extract and flag AV tags as part of the render process 2020-01-24 11:06:11 +10:00
tools more changes to the template code 2020-01-24 13:44:13 +10: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