Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add py.typed Marker #2904

Merged
merged 5 commits into from
Jul 2, 2022
Merged

Commits on Jun 29, 2022

  1. feat(typehinting): add py.typed marker to package

    This will allow static type checkers to recognized the package's type hints per PEP-561
    
    Fixes issue pyvista#2903
    adamgranthendry committed Jun 29, 2022
    Configuration menu
    Copy the full SHA
    8a1af87 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    cca1430 View commit details
    Browse the repository at this point in the history

Commits on Jun 30, 2022

  1. Add newline to end of py.typed

    adeak committed Jun 30, 2022
    Configuration menu
    Copy the full SHA
    529e065 View commit details
    Browse the repository at this point in the history

Commits on Jul 1, 2022

  1. feat(setuptools): add type hint files to MANIFEST.in and set `zip_s…

    …afe=False`
    
    `mypy` requires packages built with `setuptools` use the `zip_safe=False` option so it can find the package and `*.pyi` and `*.typed` files be added to the `MANIFEST.in` so they are included in the `sdist`.
    
    See https://mypy.readthedocs.io/en/latest/installed_packages.html#creating-pep-561-compatible-packages
    adamgranthendry committed Jul 1, 2022
    Configuration menu
    Copy the full SHA
    f915b61 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f62328c View commit details
    Browse the repository at this point in the history