diff --git a/tests/test_hooks.py b/tests/test_hooks.py index a1f4267..3b980e9 100644 --- a/tests/test_hooks.py +++ b/tests/test_hooks.py @@ -60,7 +60,8 @@ def test_licence(license, lfile, cookies): with open(base_path / lfile) as fobj: expected_content = fobj.readlines() - assert expected_content[1:] == license_content[1:] + assert expected_content[1:11] == license_content[1:11] + assert expected_content[12:] == license_content[12:] def test_other_licence(cookies): diff --git a/{{ cookiecutter.package_name }}/licenses/BSD3.rst b/{{ cookiecutter.package_name }}/licenses/BSD3.rst index 67e9e47..a1e90cf 100644 --- a/{{ cookiecutter.package_name }}/licenses/BSD3.rst +++ b/{{ cookiecutter.package_name }}/licenses/BSD3.rst @@ -9,7 +9,7 @@ are permitted provided that the following conditions are met: * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. -* Neither the name of the Astropy Team nor the names of its contributors may be +* Neither the name of the {{ cookiecutter.package_name }} team nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. diff --git a/{{ cookiecutter.package_name }}/pyproject.toml b/{{ cookiecutter.package_name }}/pyproject.toml index 5b856e3..173e2a1 100644 --- a/{{ cookiecutter.package_name }}/pyproject.toml +++ b/{{ cookiecutter.package_name }}/pyproject.toml @@ -75,7 +75,7 @@ include-package-data = true [tool.setuptools.packages.find] include = ["{{ cookiecutter.module_name }}*"] -{%- if cookiecutter.enable_dynamic_dev_versions == 'y' %} +{% if cookiecutter.enable_dynamic_dev_versions == 'y' -%} exclude = ["{{ cookiecutter.module_name }}._dev*"] {%- endif %} {% if cookiecutter.use_compiled_extensions == 'y' %}