Skip to content

Commit

Permalink
Solves #127.
Browse files Browse the repository at this point in the history
Or at least, solves the bug part of #127.
  • Loading branch information
samcunliffe committed Jul 31, 2023
1 parent 9151ae5 commit f246172
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions cookiecutter.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"github_username": "{{ cookiecutter.author_name.replace(' ', '-') }}",
"project_name": "Python Template",
"project_slug": "{{ cookiecutter.project_name.lower().replace(' ', '-').replace('_', '-') }}",
"module_name": "{{ cookiecutter.project_slug.replace('-', '_') }}",
"project_short_description": "A cookieninja template with ARC recommendations.",
"funder": "JBFC: The Joe Bloggs Funding Council",
"licence": ["MIT", "BSD-3", "GPL-3.0"],
Expand Down
2 changes: 1 addition & 1 deletion {{cookiecutter.project_slug}}/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ pep8-naming.classmethod-decorators = [

[tool.setuptools_scm]
local_scheme = "no-local-version"
write_to = "src/{{ cookiecutter.project_slug }}/_version.py"
write_to = "src/{{ cookiecutter.module_name }}/_version.py"

[tool.tomlsort]
all = true
Expand Down

0 comments on commit f246172

Please sign in to comment.