Skip to content

Commit 22ffdc6

Browse files
Merge pull request #158 from packit/pep561
Make specfile PEP 561 compliant This allows mypy to recognize specfile type hints in projects importing it and avoids the following error: Skipping analyzing "specfile": module is installed, but missing library stubs or py.typed marker Reviewed-by: None <None>
2 parents d6bb5da + 73cf226 commit 22ffdc6

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

setup.cfg

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,3 +47,6 @@ testing =
4747
[options.packages.find]
4848
exclude =
4949
tests*
50+
51+
[options.package_data]
52+
* = py.typed

specfile/py.typed

Whitespace-only changes.

0 commit comments

Comments
 (0)