Anki/pylib/anki/scheduler
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 Enable invalid-name globally in pylib (#1454) 2021-10-25 19:10:56 +10:00
base.py Enable invalid-name globally in pylib (#1454) 2021-10-25 19:10:56 +10:00
legacy.py run pyupgrade over codebase [python upgrade required] 2021-10-04 15:05:48 +10:00
v1.py retire the v1 scheduler 2021-11-24 14:12:56 +10:00
v2.py convert invariant assertions to if statements 2021-11-25 17:47:50 +10:00
v3.py convert invariant assertions to if statements 2021-11-25 17:47:50 +10:00