Skip to content

Commit 08cef61

Browse files
authored
feat: Add py.typed (#363)
* Add py.typed in top package * Add changelog entry
1 parent 3421b0e commit 08cef61

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,12 @@ changes that do not affect the user.
2929
Before this change, trying to differentiate through them leaded to wrong gradients or unclear
3030
errors.
3131

32+
### Added
33+
34+
- Added a `py.typed` file in the top package of `torchjd` to ensure compliance with
35+
[PEP 561](https://peps.python.org/pep-0561/). This should make it possible for users to use
36+
[mypy](https://github.com/python/mypy) against the type annotations provided in `torchjd`.
37+
3238
## [0.6.0] - 2025-04-19
3339

3440
### Added

src/torchjd/py.typed

Whitespace-only changes.

0 commit comments

Comments
 (0)