Anki/pylib/anki
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
..
_backend run pyupgrade over codebase [python upgrade required] 2021-10-04 15:05:48 +10:00
importing run pyupgrade over codebase [python upgrade required] 2021-10-04 15:05:48 +10:00
scheduler run pyupgrade over codebase [python upgrade required] 2021-10-04 15:05:48 +10:00
syncserver run pyupgrade over codebase [python upgrade required] 2021-10-04 15:05:48 +10:00
__init__.py move proto files into separate py_library in same namespace 2021-07-11 14:51:25 +10:00
_legacy.py run pyupgrade over codebase [python upgrade required] 2021-10-04 15:05:48 +10:00
backend_pb2.pyi refactor protobuf handling for split/import 2021-07-10 19:17:05 +10:00
browser.py run pyupgrade over codebase [python upgrade required] 2021-10-04 15:05:48 +10:00
BUILD.bazel bump minimum Python to 3.9 2021-10-04 15:05:15 +10:00
buildinfo.py run pyupgrade over codebase [python upgrade required] 2021-10-04 15:05:48 +10:00
card_rendering_pb2.pyi split out remaining tags, stats, media and rendering 2021-07-10 23:16:18 +10:00
cards.py run pyupgrade over codebase [python upgrade required] 2021-10-04 15:05:48 +10:00
cards_pb2.pyi split out cards and collection 2021-07-10 19:52:31 +10:00
collection.py run pyupgrade over codebase [python upgrade required] 2021-10-04 15:05:48 +10:00
collection_pb2.pyi split out cards and collection 2021-07-10 19:52:31 +10:00
config.py configs.proto plural workaround no longer necessary 2021-07-11 19:35:18 +10:00
config_pb2.pyi configs.proto plural workaround no longer necessary 2021-07-11 19:35:18 +10:00
consts.py run pyupgrade over codebase [python upgrade required] 2021-10-04 15:05:48 +10:00
db.py run pyupgrade over codebase [python upgrade required] 2021-10-04 15:05:48 +10:00
dbproxy.py run pyupgrade over codebase [python upgrade required] 2021-10-04 15:05:48 +10:00
deckconfig_pb2.pyi split out sync, search, scheduler & config 2021-07-10 21:33:12 +10:00
decks.py run pyupgrade over codebase [python upgrade required] 2021-10-04 15:05:48 +10:00
decks_pb2.pyi split out sync, search, scheduler & config 2021-07-10 21:33:12 +10:00
errors.py simplify errors 2021-04-03 16:06:46 +10:00
exporting.py run pyupgrade over codebase [python upgrade required] 2021-10-04 15:05:48 +10:00
find.py run pyupgrade over codebase [python upgrade required] 2021-10-04 15:05:48 +10:00
generic_pb2.pyi refactor protobuf handling for split/import 2021-07-10 19:17:05 +10:00
hooks.py run pyupgrade over codebase [python upgrade required] 2021-10-04 15:05:48 +10:00
hooks_gen.py symlink generated .py/.pyi into tree to fix Python code completion 2020-12-16 11:36:42 +10:00
httpclient.py run pyupgrade over codebase [python upgrade required] 2021-10-04 15:05:48 +10:00
i18n_pb2.pyi refactor protobuf handling for split/import 2021-07-10 19:17:05 +10:00
lang.py run pyupgrade over codebase [python upgrade required] 2021-10-04 15:05:48 +10:00
latex.py run pyupgrade over codebase [python upgrade required] 2021-10-04 15:05:48 +10:00
links_pb2.pyi fix broken links_pb2.pyi link 2021-10-01 22:52:15 +10:00
media.py run pyupgrade over codebase [python upgrade required] 2021-10-04 15:05:48 +10:00
media_pb2.pyi split out remaining tags, stats, media and rendering 2021-07-10 23:16:18 +10:00
models.py run pyupgrade over codebase [python upgrade required] 2021-10-04 15:05:48 +10:00
notes.py run pyupgrade over codebase [python upgrade required] 2021-10-04 15:05:48 +10:00
notes_pb2.pyi split out sync, search, scheduler & config 2021-07-10 21:33:12 +10:00
notetypes_pb2.pyi split out sync, search, scheduler & config 2021-07-10 21:33:12 +10:00
py.typed mark anki and aqt modules as having typing info 2020-01-13 13:03:37 +10:00
rsbackend.py fix rsbackend compat issues 2021-02-08 09:51:51 +10:00
scheduler_pb2.pyi split out sync, search, scheduler & config 2021-07-10 21:33:12 +10:00
search_pb2.pyi split out sync, search, scheduler & config 2021-07-10 21:33:12 +10:00
sound.py run pyupgrade over codebase [python upgrade required] 2021-10-04 15:05:48 +10:00
stats.py run pyupgrade over codebase [python upgrade required] 2021-10-04 15:05:48 +10:00
stats_pb2.pyi split out remaining tags, stats, media and rendering 2021-07-10 23:16:18 +10:00
statsbg.py tweaking the folder names again 2020-01-03 07:48:38 +10:00
stdmodels.py run pyupgrade over codebase [python upgrade required] 2021-10-04 15:05:48 +10:00
storage.py storage->collection 2020-05-20 17:58:28 +10:00
sync.py split out sync, search, scheduler & config 2021-07-10 21:33:12 +10:00
sync_pb2.pyi split out sync, search, scheduler & config 2021-07-10 21:33:12 +10:00
tags.py run pyupgrade over codebase [python upgrade required] 2021-10-04 15:05:48 +10:00
tags_pb2.pyi split out remaining tags, stats, media and rendering 2021-07-10 23:16:18 +10:00
template.py run pyupgrade over codebase [python upgrade required] 2021-10-04 15:05:48 +10:00
types.py add missing copyright headers to *.py 2021-04-13 18:45:35 +10:00
utils.py run pyupgrade over codebase [python upgrade required] 2021-10-04 15:05:48 +10:00
wheel_description.txt move aqt_data into source folder; implement wheel building 2020-11-04 12:14:03 +10:00