Skip to content

Commit

Permalink
Added stub files
Browse files Browse the repository at this point in the history
mypy needs stub files to work.
Refactored to be a package and added stub files.
  • Loading branch information
gentlegiantJGC committed Nov 9, 2023
1 parent 5c5bf3a commit 99d116f
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1 +1 @@
graft src
recursive-include src/runtime_final *.py *.pyi py.typed
7 changes: 5 additions & 2 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,11 @@ license = MIT


[options]
python_requires = ~=3.6
package_dir=
=src
py_modules = runtime_final
python_requires = ~=3.6
packages = find:
include_package_data = True

[options.packages.find]
where=src
File renamed without changes.
1 change: 1 addition & 0 deletions src/runtime_final/__init__.pyi
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from typing import final as final
Empty file added src/runtime_final/py.typed
Empty file.

0 comments on commit 99d116f

Please sign in to comment.