Skip to content

Commit

Permalink
Sample typed package
Browse files Browse the repository at this point in the history
  • Loading branch information
emmatyping committed Oct 12, 2017
0 parents commit 001e108
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
.vscode/
*.pyc
10 changes: 10 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
from distutils.core import setup

setup(
name="typedpkg",
url="ethanhs.me",
author="Ethan Smith",
author_email="[email protected]",
version="0.1",
typed="inline"
)
Empty file added typedpkg/__init__.py
Empty file.
2 changes: 2 additions & 0 deletions typedpkg/sample.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
def ex(a: int, b: str):
return b + f'{a}'

0 comments on commit 001e108

Please sign in to comment.