File tree Expand file tree Collapse file tree 3 files changed +7
-4
lines changed
{{ cookiecutter.project_slug }} Expand file tree Collapse file tree 3 files changed +7
-4
lines changed Original file line number Diff line number Diff line change 3131 cd dummy && pip install .
3232 - name : CI
3333 run : |
34- make ci PROJECT_NAME=dummy
34+ make ci PROJECT_NAME=dummy POETRY_RUN=
Original file line number Diff line number Diff line change @@ -16,19 +16,21 @@ run-container:
1616
1717
1818# #### ci
19+ POETRY_RUN := poetry run
20+
1921ci : typecheck test lint
2022
2123typecheck :
2224@echo check types
23- mypy ./{{ cookiecutter.project_slug }}
25+ ${POETRY_RUN} mypy ./{{ cookiecutter.project_slug }}
2426
2527lint :
2628@echo check style
27- flake8 --show-source --statistics
29+ ${POETRY_RUN} flake8 --show-source --statistics
2830
2931test :
3032@echo testing
31- pytest -rf --cov=./{{ cookiecutter.project_slug }}
33+ ${POETRY_RUN} pytest -rf --cov=./{{ cookiecutter.project_slug }}
3234
3335
3436# #### k8s
Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ dacite = "^1.5.0"
1010pyyaml = " ^5.3.1"
1111fastapi = " ^0.55.1"
1212uvicorn = " ^0.11.5"
13+ requests = " ^2.24.0"
1314
1415[tool .poetry .dev-dependencies ]
1516flake8 = " ^3.7.9"
You can’t perform that action at this time.
0 commit comments