From 14dc31e185787f6431c82e11f8e4e2d4f6dee260 Mon Sep 17 00:00:00 2001 From: David Stansby Date: Sat, 23 Mar 2024 16:44:31 +0000 Subject: [PATCH] Revert "Correct uses of project_name in pyproject.toml (#309)" This reverts commit ee8165412f14a0e4f8c6cedf996f27b550f47e82. --- {{cookiecutter.project_slug}}/pyproject.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/{{cookiecutter.project_slug}}/pyproject.toml b/{{cookiecutter.project_slug}}/pyproject.toml index b1306cb1..a9de1673 100644 --- a/{{cookiecutter.project_slug}}/pyproject.toml +++ b/{{cookiecutter.project_slug}}/pyproject.toml @@ -49,7 +49,7 @@ urls.homepage = "https://github.com/{{cookiecutter.github_username}}/{{cookiecut [tool.coverage] report = {sort = "cover"} run = {branch = true, parallel = true, source = [ - "{{cookiecutter.project_name}}", + "{{cookiecutter.project_slug}}", ]} paths.source = [ "src", @@ -88,7 +88,7 @@ lint.select = [ "ALL", ] lint.isort.known-first-party = [ - "{{cookiecutter.project_name}}", + "{{cookiecutter.project_slug | replace('-', '_')}}", ] lint.mccabe.max-complexity = 18 lint.pep8-naming.classmethod-decorators = [