From f67e617bb0127dde4d34333f2048cf52d0455af5 Mon Sep 17 00:00:00 2001 From: Roman Tezikov Date: Tue, 6 Jul 2021 15:56:36 +0300 Subject: [PATCH] =?UTF-8?q?=F0=9F=99=88=20Fix=20Makefile=20again?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 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 8dbdc1e0..1f23192e 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.3 +cookiecutter gh:TezRomacH/python-package-template --checkout v1.0.4 ``` > 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.3 +cookiecutter gh:TezRomacH/python-package-template --checkout v1.0.4 ``` ### Input variables diff --git a/pyproject.toml b/pyproject.toml index e7033a42..9dd21801 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.3" +version = "1.0.4" 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 a1c356e1..5fb7a9ad 100644 --- a/{{ cookiecutter.project_name }}/Makefile +++ b/{{ cookiecutter.project_name }}/Makefile @@ -54,7 +54,7 @@ mypy: check-safety: poetry check poetry run safety check --full-report - poetry run bandit --exclude tests/**/*.py -ll --recursive ./ + poetry run bandit -ll --recursive {{ cookiecutter.project_name.lower().replace(' ', '_').replace('-', '_') }} tests .PHONY: lint lint: test check-codestyle mypy check-safety