Skip to content

Commit 20677a9

Browse files
committed
🐛 cruft
1 parent 2cfaa38 commit 20677a9

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

tests/example-project/pyproject.toml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,13 @@ omit = [
5151
parallel = true
5252
source_pkgs = ["example_project", "tests"]
5353

54+
[tool.cruft]
55+
skip = [
56+
"example_project/__about__.py",
57+
"example_project/__init__.py",
58+
"tests/"
59+
]
60+
5461
[tool.hatch.env]
5562
requires = ["hatch-pip-compile", "hatch-mkdocs"]
5663

{{cookiecutter.repo_name}}/pyproject.toml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,13 @@ omit = [
5353
parallel = true
5454
source_pkgs = ["{{ cookiecutter.project_slug }}", "tests"]
5555

56+
[tool.cruft]
57+
skip = [
58+
"{{ cookiecutter.project_slug }}/__about__.py",
59+
"{{ cookiecutter.project_slug }}/__init__.py",
60+
"tests/"
61+
]
62+
5663
[tool.hatch.env]
5764
requires = ["hatch-pip-compile", "hatch-mkdocs"]
5865

0 commit comments

Comments
 (0)