Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add test and exports #9

Merged
merged 3 commits into from
Jun 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions makenew_pypackage/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
"""
Package skeleton for a Python module.
"""

from .todo import todo as todo
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ license = "MIT"
readme = "README.rst"
homepage = "https://github.com/makenew/pypackage"
repository = "https://github.com/makenew/pypackage"
exclude = ["**/*_test.py"]

[tool.poetry.dependencies]
python = "^3.11.0"
Expand Down
Empty file added test/__init__.py
Empty file.
5 changes: 5 additions & 0 deletions test/todo_test.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
from makenew_pypackage import todo


def test_todo():
assert todo(True) is True
Loading