2023-09-06 09:52:31 +00:00
|
|
|
# Preamble
|
|
|
|
|
|
|
|
This file only template directives; it is skipped for the actual output.
|
|
|
|
|
|
|
|
{{skip "__preamble"}}
|
|
|
|
|
|
|
|
{{$notDLT := not (eq .include_dlt "yes")}}
|
|
|
|
{{$notNotebook := not (eq .include_notebook "yes")}}
|
|
|
|
{{$notPython := not (eq .include_python "yes")}}
|
|
|
|
|
|
|
|
{{if $notPython}}
|
|
|
|
{{skip "{{.project_name}}/src/{{.project_name}}"}}
|
2023-09-11 07:36:44 +00:00
|
|
|
{{skip "{{.project_name}}/tests/main_test.py"}}
|
2023-09-06 09:52:31 +00:00
|
|
|
{{skip "{{.project_name}}/setup.py"}}
|
|
|
|
{{skip "{{.project_name}}/pytest.ini"}}
|
2023-10-04 15:27:09 +00:00
|
|
|
{{skip "{{.project_name}}/requirements-dev.txt"}}
|
2023-09-06 09:52:31 +00:00
|
|
|
{{end}}
|
|
|
|
|
|
|
|
{{if $notDLT}}
|
|
|
|
{{skip "{{.project_name}}/src/dlt_pipeline.ipynb"}}
|
2024-09-25 12:58:14 +00:00
|
|
|
{{skip "{{.project_name}}/resources/{{.project_name}}.pipeline.yml"}}
|
2023-09-06 09:52:31 +00:00
|
|
|
{{end}}
|
|
|
|
|
|
|
|
{{if $notNotebook}}
|
2023-09-07 08:26:43 +00:00
|
|
|
{{skip "{{.project_name}}/src/notebook.ipynb"}}
|
2023-09-06 09:52:31 +00:00
|
|
|
{{end}}
|
|
|
|
|
|
|
|
{{if (and $notDLT $notNotebook $notPython)}}
|
2024-09-25 12:58:14 +00:00
|
|
|
{{skip "{{.project_name}}/resources/{{.project_name}}.job.yml"}}
|
2023-09-06 09:52:31 +00:00
|
|
|
{{else}}
|
|
|
|
{{skip "{{.project_name}}/resources/.gitkeep"}}
|
|
|
|
{{end}}
|