Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,13 @@ assignees: ''
**Bug report**


**Environment Information**


**Before submitting**
Please check the following:

- [ ] I have described the situation in which the bug arose, including what code was executed, information about my environment, and any applicable data others will need to reproduce the problem.
- [ ] I have described the situation in which the bug arose, including what code was executed, and any applicable data others will need to reproduce the problem.
- [ ] I have included information about my environment, including the version of this package (e.g. `{{package_name}}.__version__`)
- [ ] I have included available evidence of the unexpected behavior (including error messages, screenshots, and/or plots) as well as a description of what I expected instead.
- [ ] If I have a solution in mind, I have provided an explanation and/or pseudocode and/or task list.
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{%- if create_example_module -%}
from ._version import __version__
{% if create_example_module -%}
from .example_module import greetings, meaning

__all__ = ["greetings", "meaning"]
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import {{package_name}}


def test_version():
"""Check to see that we can get the package version"""
assert {{package_name}}.__version__ is not None
2 changes: 1 addition & 1 deletion tests/test_package_creation.py
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ def test_use_black_and_no_example_modules(copie):

assert successfully_created_project(result)
assert directory_structure_is_correct(result)
assert pylint_runs_successfully(result)
assert not pylint_runs_successfully(result)
assert contains_required_files(result)

# make sure that the files that were not requested were not created
Expand Down