anki/pylib/tools
Arthur Milchior 08ad9f33b9
The importer list have a Hook (#1543)
* The importer list have a Hook

Previously, add-on 175027074 simply edited the list once. It became impossible
since the list became a function. Hence I need a filter to add the list here.

@kelciour (nice to meet you by the way), you may be interested by it too (at
least if I believe efb1ce46d4 )

I would have preferred to use `anki.importing.base.Importer` instead of
`Any`. However, this leads to
> Name "anki.importing.base.Importer" is not defined  [name-defined]
when I run test.

Helps to solve this would be welcomed

* mention the hook may not last too long (dae)
2021-12-09 11:20:29 +10:00
..
__init__.py move hook gen code out of anki/ 2020-01-15 09:11:20 +10:00
BUILD.bazel vendor stringcase 2021-10-22 08:56:44 +10:00
diff-sched.py add missing copyright headers to *.py 2021-04-13 18:45:35 +10:00
genhooks.py The importer list have a Hook (#1543) 2021-12-09 11:20:29 +10:00
hookslib.py run pyupgrade over codebase [python upgrade required] 2021-10-04 15:05:48 +10:00
protoc_wrapper.py apply some f-string updates via flynt 2021-10-02 23:52:02 +10:00
protoc-gen-mypy.py update to latest mypy_protobuf 2021-02-03 13:31:52 +10:00
rewrite_tr.py update remaining TR references in rslib 2021-03-27 11:18:34 +10:00