Skip to content

Commit

Permalink
Add py.typed marker and update MANIFEST.in for static type checki…
Browse files Browse the repository at this point in the history
…ng (PlasmaPy#2473)

* Add py.typed marker

* Update MANIFEST.in for typing stuff

* Add changelog entry

* Update 2473.trivial.rst
  • Loading branch information
namurphy authored Jan 25, 2024
1 parent 4b15547 commit 46f59fc
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,15 +1,18 @@
graft docs
graft licenses
graft plasmapy
graft type_stubs

include *.md
include *.py
include *.pyi
include *.rst
include *.txt
include *.yaml
include *.yml
include changelog/README.rst
include CITATION.cff
include plasmapy/py.typed
include pyproject.toml
include tox.ini

Expand Down
2 changes: 2 additions & 0 deletions changelog/2473.trivial.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Added a :file:`py.typed` marker to indicate that PlasmaPy contains
type hint annotations as per :pep:`561`.
Empty file added plasmapy/py.typed
Empty file.

0 comments on commit 46f59fc

Please sign in to comment.