Skip to content

Commit

Permalink
Merge pull request #32 from statisticsnorway/add-required-project-name
Browse files Browse the repository at this point in the history
Change 'project_name' to be required when creating project from template
  • Loading branch information
mallport authored Nov 7, 2023
2 parents b02f5f5 + 6788520 commit 0d825ea
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
pipx inject --pip-args=--constraint=.github/workflows/constraints.txt nox nox-poetry
pipx install --pip-args=--constraint=.github/workflows/constraints.txt poetry
- name: Generate project using Cookiecutter
run: cookiecutter --no-input ssb-pypitemplate
run: cookiecutter --no-input ssb-pypitemplate project_name=ssb-library
- name: Create git repository
if: matrix.os != 'windows-latest'
run: |
Expand Down
2 changes: 1 addition & 1 deletion cookiecutter.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"project_name": "ssb-library",
"project_name": null,
"package_name": "{{ cookiecutter.project_name.replace('-', '_') }}",
"friendly_name": "{{ cookiecutter.project_name.replace('-', ' ').title().replace('Ssb', 'SSB') }}",
"copyright_owner": "Statistics Norway",
Expand Down

0 comments on commit 0d825ea

Please sign in to comment.