google / TensorNetwork

A library for easy and efficient manipulation of tensor networks.
Apache License 2.0
1.82k stars 359 forks source link

Export typing information #923

Open JanLuca opened 3 years ago

JanLuca commented 3 years ago

This commit adds the flag that the package contains typing information. Therefore other packages can use the typing data to check their code by mypy.

Ref.: https://mypy.readthedocs.io/en/stable/installed_packages.html#making-pep-561-compatible-packages

Signed-off-by: Jan Luca Naumann j.naumann@fu-berlin.de

google-cla[bot] commented 3 years ago

Thanks for your pull request. It looks like this may be your first contribution to a Google open source project (if not, look below for help). Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

:memo: Please visit https://cla.developers.google.com/ to sign.

Once you've signed (or fixed any issues), please reply here with @googlebot I signed it! and we'll verify it.


What to do if you already signed the CLA

Individual signers
Corporate signers

ℹ️ Googlers: Go here for more info.

JanLuca commented 3 years ago

@googlebot I signed it!

mganahl commented 3 years ago

Thanks for the PR! I'll fix the build and merge this.

codecov-commenter commented 3 years ago

Codecov Report

Merging #923 (357f430) into master (20dc783) will not change coverage. The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #923   +/-   ##
=======================================
  Coverage   98.04%   98.04%           
=======================================
  Files         129      129           
  Lines       22394    22394           
=======================================
  Hits        21957    21957           
  Misses        437      437           
Impacted Files Coverage Δ
setup.py 0.00% <ø> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 20dc783...357f430. Read the comment docs.