From bf3d50c3cdf945c293c499d88244e84e0eebd5fe Mon Sep 17 00:00:00 2001 From: Roman Tezikov Date: Mon, 5 Jul 2021 17:39:24 +0300 Subject: [PATCH] Fixes for issues #311 --- README.md | 4 ++-- pyproject.toml | 2 +- {{ cookiecutter.project_name }}/Makefile | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 9a938da9..8dbdc1e0 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ Your next Python package needs a bleeding-edge project structure. ## TL;DR ```bash -cookiecutter gh:TezRomacH/python-package-template --checkout v1.0.2 +cookiecutter gh:TezRomacH/python-package-template --checkout v1.0.3 ``` > All you need is the latest version of cookiecutter 😉 @@ -65,7 +65,7 @@ pip install -U cookiecutter then go to a directory where you want to create your project and run: ```bash -cookiecutter gh:TezRomacH/python-package-template --checkout v1.0.2 +cookiecutter gh:TezRomacH/python-package-template --checkout v1.0.3 ``` ### Input variables diff --git a/pyproject.toml b/pyproject.toml index 57b5953e..8749be10 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -5,7 +5,7 @@ build-backend = "poetry.core.masonry.api" [tool.poetry] name = "python-package-template" -version = "1.0.2" +version = "1.0.3" description = "Cookiecutter template for Python cli/packages" readme = "README.md" authors = ["Roman Tezikov "] diff --git a/{{ cookiecutter.project_name }}/Makefile b/{{ cookiecutter.project_name }}/Makefile index dc43b5b1..a1c356e1 100644 --- a/{{ cookiecutter.project_name }}/Makefile +++ b/{{ cookiecutter.project_name }}/Makefile @@ -44,7 +44,7 @@ test: check-codestyle: poetry run isort --diff --check-only --settings-path pyproject.toml ./ poetry run black --diff --check --config pyproject.toml ./ - poetry run darglint --verbosity 2 ./ + poetry run darglint --verbosity 2 {{ cookiecutter.project_name.lower().replace(' ', '_').replace('-', '_') }} tests .PHONY: mypy mypy: