Skip to content
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: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,6 @@ fix:

.PHONY: test
test:
uv run coverage run --module pytest $(SRCDIR)
uv run coverage run --module pytest test
uv run coverage report
uv run coverage html
4 changes: 4 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ dependencies = [
"structlog",
]

[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"

[tool.coverage.run]
branch = true
dynamic_context = "test_function"
Expand Down
Empty file added src/python_template/__init__.py
Empty file.
File renamed without changes.
Empty file added test/__init__.py
Empty file.
2 changes: 1 addition & 1 deletion test_sample.py → test/test_sample.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import skeleton
from python_template import skeleton


def test_nothing():
Expand Down
3 changes: 2 additions & 1 deletion uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.