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
3 changes: 2 additions & 1 deletion tests/test_hooks.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down
2 changes: 1 addition & 1 deletion {{ cookiecutter.package_name }}/licenses/BSD3.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down
2 changes: 1 addition & 1 deletion {{ cookiecutter.package_name }}/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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' -%}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh this is probably wrong upstream.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

😭

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

HAVE TO FIX IT UPSTREAM

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

exclude = ["{{ cookiecutter.module_name }}._dev*"]
{%- endif %}
{% if cookiecutter.use_compiled_extensions == 'y' %}
Expand Down