Skip to content

Commit

Permalink
Add add_ons to pyproject.toml in spaceflight starters (#175)
Browse files Browse the repository at this point in the history
Signed-off-by: Merel Theisen <merel.theisen@quantumblack.com>
Co-authored-by: Sajid Alam <90610031+SajidAlamQB@users.noreply.github.com>
  • Loading branch information
merelcht and SajidAlamQB committed Nov 1, 2023
1 parent 41f2b98 commit 056ae42
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion spaceflights-pandas-viz/cookiecutter.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
"repo_name": "{{ cookiecutter.project_name.strip().replace(' ', '-').replace('_', '-').lower() }}",
"python_package": "{{ cookiecutter.project_name.strip().replace(' ', '_').replace('-', '_').lower() }}",
"kedro_version": "{{ cookiecutter.kedro_version }}",
"add_ons" : "none"
"add_ons": "none"
}
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ namespaces = false
package_name = "{{ cookiecutter.python_package }}"
project_name = "{{ cookiecutter.project_name }}"
kedro_init_version = "{{ cookiecutter.kedro_version }}"
add_ons = "{{ cookiecutter.add_ons | default('') | string | replace('\"', '\\\"') }}"

[tool.pytest.ini_options]
addopts = """
Expand Down
3 changes: 2 additions & 1 deletion spaceflights-pandas/cookiecutter.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@
"project_name": "Spaceflights Pandas",
"repo_name": "{{ cookiecutter.project_name.strip().replace(' ', '-').replace('_', '-').lower() }}",
"python_package": "{{ cookiecutter.project_name.strip().replace(' ', '_').replace('-', '_').lower() }}",
"kedro_version": "{{ cookiecutter.kedro_version }}"
"kedro_version": "{{ cookiecutter.kedro_version }}",
"add_ons": "none"
}
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ namespaces = false
package_name = "{{ cookiecutter.python_package }}"
project_name = "{{ cookiecutter.project_name }}"
kedro_init_version = "{{ cookiecutter.kedro_version }}"
add_ons = "{{ cookiecutter.add_ons | default('') | string | replace('\"', '\\\"') }}"

[tool.pytest.ini_options]
addopts = """
Expand Down
2 changes: 1 addition & 1 deletion spaceflights-pyspark-viz/cookiecutter.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
"repo_name": "{{ cookiecutter.project_name.strip().replace(' ', '-').replace('_', '-').lower() }}",
"python_package": "{{ cookiecutter.project_name.strip().replace(' ', '_').replace('-', '_').lower() }}",
"kedro_version": "{{ cookiecutter.kedro_version }}",
"add_ons" : "none"
"add_ons": "none"
}
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ namespaces = false
package_name = "{{ cookiecutter.python_package }}"
project_name = "{{ cookiecutter.project_name }}"
kedro_init_version = "{{ cookiecutter.kedro_version }}"
add_ons = "{{ cookiecutter.add_ons | default('') | string | replace('\"', '\\\"') }}"

[tool.pytest.ini_options]
addopts = """
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ namespaces = false
package_name = "{{ cookiecutter.python_package }}"
project_name = "{{ cookiecutter.project_name }}"
kedro_init_version = "{{ cookiecutter.kedro_version }}"
add_ons = "{{ cookiecutter.add_ons | default('') | string | replace('\"', '\\\"') }}"

[tool.pytest.ini_options]
addopts = """
Expand Down

0 comments on commit 056ae42

Please sign in to comment.