Skip to content

Commit 14dc31e

Browse files
authored
Revert "Correct uses of project_name in pyproject.toml (#309)"
This reverts commit ee81654.
1 parent 02335b1 commit 14dc31e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

{{cookiecutter.project_slug}}/pyproject.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ urls.homepage = "https://github.com/{{cookiecutter.github_username}}/{{cookiecut
4949
[tool.coverage]
5050
report = {sort = "cover"}
5151
run = {branch = true, parallel = true, source = [
52-
"{{cookiecutter.project_name}}",
52+
"{{cookiecutter.project_slug}}",
5353
]}
5454
paths.source = [
5555
"src",
@@ -88,7 +88,7 @@ lint.select = [
8888
"ALL",
8989
]
9090
lint.isort.known-first-party = [
91-
"{{cookiecutter.project_name}}",
91+
"{{cookiecutter.project_slug | replace('-', '_')}}",
9292
]
9393
lint.mccabe.max-complexity = 18
9494
lint.pep8-naming.classmethod-decorators = [

0 commit comments

Comments
 (0)