Skip to content

Commit 8250cf2

Browse files
committed
Poetry skeleton added
0 parents  commit 8250cf2

File tree

8 files changed

+21
-0
lines changed

8 files changed

+21
-0
lines changed

README.rst

Whitespace-only changes.

pyproject.toml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
[tool.poetry]
2+
name = "python-sample"
3+
version = "0.1.0"
4+
description = ""
5+
authors = ["Ken Erwin <[email protected]>"]
6+
7+
[tool.poetry.dependencies]
8+
python = "^3.8"
9+
10+
[tool.poetry.dev-dependencies]
11+
pytest = "^5.2"
12+
13+
[build-system]
14+
requires = ["poetry>=0.12"]
15+
build-backend = "poetry.masonry.api"

python_sample/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
__version__ = '0.1.0'
166 Bytes
Binary file not shown.

tests/__init__.py

Whitespace-only changes.
137 Bytes
Binary file not shown.
Binary file not shown.

tests/test_python_sample.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
from python_sample import __version__
2+
3+
4+
def test_version():
5+
assert __version__ == '0.1.0'

0 commit comments

Comments
 (0)