Skip to content

Commit

Permalink
remove recursive glob patterns in include/exclude
Browse files Browse the repository at this point in the history
  • Loading branch information
Zeitsperre committed Nov 23, 2023
1 parent de751c5 commit 55c2dc1
Showing 1 changed file with 9 additions and 11 deletions.
20 changes: 9 additions & 11 deletions {{cookiecutter.project_slug}}/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -157,23 +157,24 @@ include = [
{%- endif %}
"Makefile",
"README.rst",
"environment-dev.yml"
{%- if cookiecutter.make_docs == 'y' %}
"docs/**/*.gif",
"docs/**/*.jpg",
"docs/**/*.png",
"docs/**/*.rst",
"environment-docs.yml",
"docs/_static/_images/*.gif",
"docs/_static/_images/*.jpg",
"docs/_static/_images/*.png",
"docs/_static/_images/*.rst",
"docs/Makefile",
"docs/conf.py",
"docs/make.bat",
{%- endif %}
"setup.cfg",
"tests/*.py",
"tox.ini",
"{{ cookiecutter.project_slug }}/**/*.py"
"{{ cookiecutter.project_slug }}"
]
exclude = [
"**/*.py[co]",
"**/__pycache__",
"*.py[co]",
"__pycache__",
".coveralls.yml",
".editorconfig",
".flake8",
Expand All @@ -183,14 +184,11 @@ exclude = [
".readthedocs.yml",
{% endif -%}
".yamllint.yaml",
"Makefile",
{%- if cookiecutter.make_docs == 'y' %}
"docs/_*",
"docs/modules.rst",
"docs/{{ cookiecutter.project_slug }}*.rst",
"environment-docs.yml",
{% endif -%}
"environment-dev.yml"
]
{%- if cookiecutter.use_black == 'y' %}

Expand Down

0 comments on commit 55c2dc1

Please sign in to comment.