11[tool .poetry ]
22name = " app"
33version = " 0.0.0"
4- description = " This is an app "
4+ description = " This is a python template. "
55authors = [" Mark Beacom <m@beacom.dev>" ]
66readme = " README.md"
7- packages = [{include = " app " }]
7+ packages = [{include = " python_template " }]
88license = " MIT"
9- keywords = [" app" , " cli" ]
9+ keywords = [" app" , " cli" , " python " , " template " ]
1010classifiers = [
1111 " Programming Language :: Python" ,
1212 " Programming Language :: Python :: 3" ,
@@ -23,7 +23,7 @@ include = [
2323]
2424
2525[tool .poetry .scripts ]
26- app = " app .cli:app"
26+ python-template = " python_template .cli:app"
2727
2828[tool .bandit ]
2929exclude_dirs = [" tests" ]
@@ -47,14 +47,14 @@ black = "black ."
4747check-black = {cmd = " black . --check --diff" , help = " Validate styling with black" }
4848check-isort = {cmd = " isort --check --profile=black ." , help = " Validate import ordering with isort" }
4949check-docstrings = " pydocstyle -e ."
50- check-ruff = " ruff check app "
50+ check-ruff = " ruff check python_template "
5151check = [" check-isort" , " check-black" ]
5252lint = [" check-docstrings" , " check-ruff" ]
5353fix = [" isort" , " black" , " ruff" ]
54- test = " pytest --cov=app --cov-report=xml --cov-report=term"
55- ruff = " ruff check --fix app "
54+ test = " pytest --cov=python_template --cov-report=xml --cov-report=term"
55+ ruff = " ruff check --fix python_template "
5656safety = " safety check"
57- bandit = " bandit -r app "
57+ bandit = " bandit -r python_template "
5858security = [" safety" , " bandit" ]
5959# requires poethepoet outside of poetry.
6060install = " poetry install"
0 commit comments