Anki/pylib
Damien Elmes 9bb0348fdd more template rendering tweaks
- The front and back are rendered in one call now. If the front
side contains no custom filters, we can bake {{FrontSide}} into the
rear side. If it did contain custom filters, we return the partially
complete rear template instead, and the calling code can inject
the FrontSide in after it has been fully rendered.

- Instead of modifying "cloze" into something like "cq-2", the card
ordinal and whether we're rendering the question or answer are now
passed in to the rendering filters as context.

- The Rust code doesn't need to support filter names split on '-'
anymore.

- Drop the "Show" part of hint descriptions so i18n support can be
deferred.

- Ignore blank filter names caused by user using two colons instead
of one.

- Fixed hint field and text transposition.
2020-01-12 21:34:07 +10:00
..
anki more template rendering tweaks 2020-01-12 21:34:07 +10:00
tests more template rendering tweaks 2020-01-12 21:34:07 +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 show stdout/stderr when running tests 2020-01-08 15:52:51 +10:00
mypy.ini bump minimum python version from 3.6 to 3.7 2020-01-07 18:34:36 +10:00
requirements.dev switch from nose2 to pytest 2020-01-03 08:52:10 +10:00
setup.py bump minimum python version from 3.6 to 3.7 2020-01-07 18:34:36 +10:00