Anki/pylib/anki/importing
Damien Elmes 9ed13eee80 convert invariant assertions to if statements
The packaged builds of 2.1.50 use python -OO, which means our assertion
statements won't be run. This is not an issue for unit tests (as we
don't run them from a packaged build), or for type assertions (which are
added for mypy's benefit), but we do need to ensure that invariant checks
are still run.
2021-11-25 17:47:50 +10:00
..
__init__.py run pyupgrade over codebase [python upgrade required] 2021-10-04 15:05:48 +10:00
anki2.py PEP8 for rest of pylib (#1451) 2021-10-25 14:50:13 +10:00
apkg.py run pyupgrade over codebase [python upgrade required] 2021-10-04 15:05:48 +10:00
base.py Enable invalid-name globally in pylib (#1454) 2021-10-25 19:10:56 +10:00
csvfile.py Enable invalid-name globally in pylib (#1454) 2021-10-25 19:10:56 +10:00
mnemo.py PEP8 for rest of pylib (#1451) 2021-10-25 14:50:13 +10:00
noteimp.py convert invariant assertions to if statements 2021-11-25 17:47:50 +10:00
pauker.py Enable invalid-name globally in pylib (#1454) 2021-10-25 19:10:56 +10:00
supermemo_xml.py PEP8 for rest of pylib (#1451) 2021-10-25 14:50:13 +10:00