Skip to content

Commit 75f7fcf

Browse files
Nicolas FrippNicolas Fripp
authored andcommitted
remove some files from exclude
1 parent 579ed5d commit 75f7fcf

File tree

2 files changed

+2
-11
lines changed

2 files changed

+2
-11
lines changed

.copier/update_dotenv.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
import json
33

44
# Update the .env file with the answers from the .copier-answers.yml file
5-
# without using Jinja2 templates in the .env file, this way the code works as is
6-
# without needing Copier, but if Copier is used, the .env file will be updated
75
root_path = Path(__file__).parent.parent
86
answers_path = Path(__file__).parent / ".copier-answers.yml"
97
answers = json.loads(answers_path.read_text())
@@ -25,6 +23,6 @@
2523
lines.append(line)
2624
env_example_path.write_text("\n".join(lines))
2725

28-
# Also create a .env file with the same content as the .env.example file
26+
# this creates a .env file with the same content as the .env.example file.
2927
env_file_path = root_path / ".env"
3028
env_file_path.write_text(env_example_path.read_text())

copier.yml

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,12 @@ project_name:
44
default: python-template
55

66
_exclude:
7-
# Global
8-
- .github
9-
- .vscode
10-
- .mypy_cache
117
# Python
128
- __pycache__
139
- .mypy_cache
1410
- .cache
15-
- .docs
16-
- .devcontainer
1711
- .venv
18-
- .pyproject.toml
19-
- README.md
12+
- uv.lock
2013

2114

2215
_answers_file: .copier/.copier-answers.yml

0 commit comments

Comments
 (0)