Skip to content
This repository was archived by the owner on Feb 7, 2024. It is now read-only.

Commit ca02512

Browse files
authored
Merge pull request #314 from TezRomacH/bandit-fix
🙈 Fix Makefile again
2 parents 992130c + f67e617 commit ca02512

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Your next Python package needs a bleeding-edge project structure.
1717
## TL;DR
1818

1919
```bash
20-
cookiecutter gh:TezRomacH/python-package-template --checkout v1.0.3
20+
cookiecutter gh:TezRomacH/python-package-template --checkout v1.0.4
2121
```
2222

2323
> All you need is the latest version of cookiecutter 😉
@@ -65,7 +65,7 @@ pip install -U cookiecutter
6565
then go to a directory where you want to create your project and run:
6666

6767
```bash
68-
cookiecutter gh:TezRomacH/python-package-template --checkout v1.0.3
68+
cookiecutter gh:TezRomacH/python-package-template --checkout v1.0.4
6969
```
7070

7171
### Input variables

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ build-backend = "poetry.core.masonry.api"
55

66
[tool.poetry]
77
name = "python-package-template"
8-
version = "1.0.3"
8+
version = "1.0.4"
99
description = "Cookiecutter template for Python cli/packages"
1010
readme = "README.md"
1111
authors = ["Roman Tezikov <[email protected]>"]

{{ cookiecutter.project_name }}/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ mypy:
5454
check-safety:
5555
poetry check
5656
poetry run safety check --full-report
57-
poetry run bandit --exclude tests/**/*.py -ll --recursive ./
57+
poetry run bandit -ll --recursive {{ cookiecutter.project_name.lower().replace(' ', '_').replace('-', '_') }} tests
5858

5959
.PHONY: lint
6060
lint: test check-codestyle mypy check-safety

0 commit comments

Comments
 (0)