Skip to content

Commit

Permalink
Added py.typed to project (#343)
Browse files Browse the repository at this point in the history
Fixes #342. Added a `py.typed` marker file to enable typing, per [PEP561](https://peps.python.org/pep-0561/). Also included the file in `setup.cfg`.

---------

Co-authored-by: Marcin Anforowicz <marcin.anforowicz@wibotic.com>
Co-authored-by: Pavel Kirienko <pavel.kirienko@gmail.com>
  • Loading branch information
3 people committed Jul 9, 2024
1 parent d232fc1 commit 7cb43b5
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 3 deletions.
8 changes: 6 additions & 2 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,17 @@
Changelog
=========

v1.20
-----
- Add the `py.typed` annotation (`#343 <https://github.com/OpenCyphal/pycyphal/pull/343>`_).

v1.19
-----
- Implement configure_acceptance_filters for socketcan.

- **v1.19.1:**
Fix socketcan timestamp on newer 32 bit kernel.

- Fix socketcan timestamp on newer 32 bit kernel.

v1.18
-----
Expand Down Expand Up @@ -179,7 +184,6 @@ v1.2

- In ``pyuavcan.dsdl``: rename ``generate_package`` into ``compile``, add ``compile_all``.


v1.1
----

Expand Down
2 changes: 1 addition & 1 deletion pycyphal/_version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "1.19.1"
__version__ = "1.20.0"
Empty file added pycyphal/py.typed
Empty file.
3 changes: 3 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,9 @@ include =
pycyphal.*

[options.package_data]
# Include the py.typed file for the pycyphal package
pycyphal = py.typed

# jingle bells jingle bells
# jingle all the way
* =
Expand Down

0 comments on commit 7cb43b5

Please sign in to comment.