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
6 changes: 3 additions & 3 deletions .cruft.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"template": ".",
"commit": "e60482f68dd58a2505743c1e3aab54c5e1ece8ab",
"checkout": "feature/update-workflows",
"commit": "4a9fa5ad1e480274b5cc83494e906a10bb5708b3",
"checkout": "feature/add-smoke-test",
"context": {
"cookiecutter": {
"project_name": "cookiecutter-nist-python",
Expand All @@ -19,7 +19,7 @@
"__answers": "",
"_copy_without_render": [],
"_template": ".",
"_commit": "e60482f68dd58a2505743c1e3aab54c5e1ece8ab"
"_commit": "4a9fa5ad1e480274b5cc83494e906a10bb5708b3"
}
},
"directory": null
Expand Down
2 changes: 1 addition & 1 deletion {{cookiecutter.project_name}}/.pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ repos:
- "--requirements-include=ty"
# ** typecheck-runner
- repo: https://github.com/wpk-nist-gov/typecheck-runner
rev: v0.1.5
rev: v0.1.6
hooks:
- id: typecheck-runner
alias: typecheck
Expand Down
12 changes: 12 additions & 0 deletions {{cookiecutter.project_name}}/tests/test_smoke.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
"""Smoke test for package"""

from {{ cookiecutter.project_slug }} import __version__


def _main() -> int:
assert isinstance(__version__, str)
return 0


if __name__ == "__main__":
raise SystemExit(_main())