From 58b13f0c37691917bc5089ee2ff7c650dede5b06 Mon Sep 17 00:00:00 2001 From: Trevor James Smith <10819524+Zeitsperre@users.noreply.github.com> Date: Thu, 23 Nov 2023 15:23:34 -0500 Subject: [PATCH] finishing touches --- {{cookiecutter.project_slug}}/pyproject.toml | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/{{cookiecutter.project_slug}}/pyproject.toml b/{{cookiecutter.project_slug}}/pyproject.toml index 87fe5e76d..65661fdb5 100644 --- a/{{cookiecutter.project_slug}}/pyproject.toml +++ b/{{cookiecutter.project_slug}}/pyproject.toml @@ -157,7 +157,9 @@ include = [ {%- endif %} "Makefile", "README.rst", - "environment-dev.yml" + {%- if cookiecutter.use_conda == 'y' %} + "environment-dev.yml", + {%- endif %} {%- if cookiecutter.make_docs == 'y' %} "environment-docs.yml", "docs/_static/_images/*.gif", @@ -183,12 +185,13 @@ exclude = [ {%- if cookiecutter.make_docs == 'y' %} ".readthedocs.yml", {% endif -%} - ".yamllint.yaml", - {%- if cookiecutter.make_docs == 'y' %} + ".yamllint.yaml" + {%- if cookiecutter.make_docs == 'y' -%} + , "docs/_*", "docs/modules.rst", - "docs/{{ cookiecutter.project_slug }}*.rst", - {% endif -%} + "docs/{{ cookiecutter.project_slug }}*.rst" + {%- endif %} ] {%- if cookiecutter.use_black == 'y' %}