diff --git a/template/src/{{package_name}}/__init__.py.jinja b/template/src/{{package_name}}/__init__.py.jinja index 9d801f51..c2e457c9 100644 --- a/template/src/{{package_name}}/__init__.py.jinja +++ b/template/src/{{package_name}}/__init__.py.jinja @@ -1,4 +1,5 @@ """Documentation about {{ package_name }}.""" + import logging logging.getLogger(__name__).addHandler(logging.NullHandler()) diff --git a/template/{% if AddLocalTests %}tests{% endif %}/test_my_module.py.jinja b/template/{% if AddLocalTests %}tests{% endif %}/test_my_module.py.jinja index ab73013d..bb26591e 100644 --- a/template/{% if AddLocalTests %}tests{% endif %}/test_my_module.py.jinja +++ b/template/{% if AddLocalTests %}tests{% endif %}/test_my_module.py.jinja @@ -1,4 +1,5 @@ """Tests for the {{ package_name }}.my_module module.""" + import pytest from {{ package_name }}.my_module import hello