anki/pylib/tools
Damien Elmes b9251290ca run pyupgrade over codebase [python upgrade required]
This adds Python 3.9 and 3.10 typing syntax to files that import
attributions from __future___. Python 3.9 should be able to cope with
the 3.10 syntax, but Python 3.8 will no longer work.

On Windows/Mac, install the latest Python 3.9 version from python.org.
There are currently no orjson wheels for Python 3.10 on Windows/Mac,
which will break the build unless you have Rust installed separately.

On Linux, modern distros should have Python 3.9 available already. If
you're on an older distro, you'll need to build Python from source first.
2021-10-04 15:05:48 +10:00
..
BUILD.bazel update some no-arg TR constants 2021-03-26 12:37:18 +10:00
__init__.py move hook gen code out of anki/ 2020-01-15 09:11:20 +10:00
diff-sched.py add missing copyright headers to *.py 2021-04-13 18:45:35 +10:00
genhooks.py drop leech hook in test scheduler 2021-05-10 16:18:29 +10:00
hookslib.py run pyupgrade over codebase [python upgrade required] 2021-10-04 15:05:48 +10:00
protoc-gen-mypy.py update to latest mypy_protobuf 2021-02-03 13:31:52 +10:00
protoc_wrapper.py apply some f-string updates via flynt 2021-10-02 23:52:02 +10:00
rewrite_tr.py update remaining TR references in rslib 2021-03-27 11:18:34 +10:00