File tree Expand file tree Collapse file tree 3 files changed +3
-1
lines changed
{{cookiecutter.project_slug}} Expand file tree Collapse file tree 3 files changed +3
-1
lines changed Original file line number Diff line number Diff line change 1717 Path ("tests/test_api.py" ).unlink ()
1818 Path ("src/{{ cookiecutter.project_slug }}/api.py" ).unlink ()
1919 Path ("src/{{ cookiecutter.project_slug }}/models.py" ).unlink ()
20- Path ("src/{{ cookiecutter.project_slug }}/config.py" ).unlink ()
2120
2221if (not {{ cookiecutter .add_fastapi }}) and (not {{ cookiecutter .add_cli }}):
2322 Path ("./src/{{ cookiecutter.project_slug }}/logging.py" ).unlink ()
23+ Path ("src/{{ cookiecutter.project_slug }}/config.py" ).unlink ()
Original file line number Diff line number Diff line change @@ -25,6 +25,8 @@ dependencies = [
2525{%- if cookiecutter.add_fastapi %}
2626 "fastapi",
2727 "pydantic~=2.1",
28+ {%- endif %}
29+ {%- if cookiecutter.add_fastapi or cookiecutter.add_cli %}
2830 "pydantic-settings",
2931{%- endif %}
3032]
You can’t perform that action at this time.
0 commit comments