Closed DMRobertson closed 1 year ago
Fix here is to make this a proper package
canonicaljson.py
-> __init__.py
canonicaljson
and move __init__.py
into itpy.typed
file in the canonicaljson
directory and ensure it's distributed once this is packaged upEdit: for bonus points, update Synapse to
49 added annotations. But mypy won't go looking for them unless we mark the module as having annotations:
We need a py.typed marker file, but there's no way to do that for single-file modules. https://peps.python.org/pep-0561/#packaging-type-information writes: