Adding a py.typed to avoid mypy errors when importing module
This prevents errors like the following when importing maubot and running mypy: Skipping analyzing "maubot": module is installed, but missing library stubs or py.typed marker See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-library-stubs-or-py-typed-marker
This commit is contained in:
parent
c2648be1e3
commit
28b0412c8c
0
maubot/py.typed
Normal file
0
maubot/py.typed
Normal file
1
setup.py
1
setup.py
@ -69,6 +69,7 @@ setuptools.setup(
|
|||||||
"management/frontend/build/static/css/*",
|
"management/frontend/build/static/css/*",
|
||||||
"management/frontend/build/static/js/*",
|
"management/frontend/build/static/js/*",
|
||||||
"management/frontend/build/static/media/*",
|
"management/frontend/build/static/media/*",
|
||||||
|
"py.typed",
|
||||||
],
|
],
|
||||||
"maubot.cli": ["res/*"],
|
"maubot.cli": ["res/*"],
|
||||||
"maubot.standalone": ["example-config.yaml"],
|
"maubot.standalone": ["example-config.yaml"],
|
||||||
|
Loading…
Reference in New Issue
Block a user