Skip to content

Commit

Permalink
Add py.typed file to mark aioapcaccess as type-annotated (#22)
Browse files Browse the repository at this point in the history
Per [PEP 561](https://peps.python.org/pep-0561/): "Package maintainers
who wish to support type checking of their code MUST add a marker file
named py.typed to their package supporting typing"

Since `aioapcaccess` is fully typed, this PR adds a `py.typed` file at
the root of the package to support type checking in downstream
dependencies.

Note that we are using `setuptools_scm` plugin such that this file is
automatically included in the final distribution package, without us
having to explicitly specify it in `pyproject.toml`.
  • Loading branch information
yuxincs authored Nov 27, 2023
1 parent 0ccdf7a commit fdd30aa
Showing 1 changed file with 0 additions and 0 deletions.
Empty file added src/aioapcaccess/py.typed
Empty file.

0 comments on commit fdd30aa

Please sign in to comment.