mirror of
https://github.com/PhotonVision/photonvision
synced 2026-06-21 01:01:41 +00:00
add file marker for type checking (#1598)
I think this is the correct way to do this based on my understanding of the guide to making a [pep561 compliant package](https://mypy.readthedocs.io/en/stable/installed_packages.html#creating-pep-561-compatible-packages) and this example in [black](https://github.com/psf/black/pull/1395/files). Given that I get all the type-checking info from a local installation, I don't know if this is testable until it's published on Pypi. resolves #1210
This commit is contained in:
1
photon-lib/py/photonlibpy/py.typed
Normal file
1
photon-lib/py/photonlibpy/py.typed
Normal file
@@ -0,0 +1 @@
|
||||
|
||||
@@ -55,6 +55,7 @@ descriptionStr = f"Pure-python implementation of PhotonLib for interfacing with
|
||||
setup(
|
||||
name="photonlibpy",
|
||||
packages=find_packages(),
|
||||
package_data={"photonlibpy": ["py.typed"]},
|
||||
version=versionString,
|
||||
install_requires=[
|
||||
"numpy~=2.1",
|
||||
|
||||
Reference in New Issue
Block a user