Skip to content

Commit 1e4a7f0

Browse files
committed
Add missing dependencies
1 parent 4051750 commit 1e4a7f0

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

.github/workflows/pythonpackage.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,4 +31,4 @@ jobs:
3131
cd dummy && pip install .
3232
- name: CI
3333
run: |
34-
make ci PROJECT_NAME=dummy
34+
make ci PROJECT_NAME=dummy POETRY_RUN=

{{ cookiecutter.project_slug }}/Makefile

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,19 +16,21 @@ run-container:
1616

1717

1818
##### ci
19+
POETRY_RUN := poetry run
20+
1921
ci: typecheck test lint
2022

2123
typecheck:
2224
@echo check types
23-
mypy ./{{ cookiecutter.project_slug }}
25+
${POETRY_RUN} mypy ./{{ cookiecutter.project_slug }}
2426

2527
lint:
2628
@echo check style
27-
flake8 --show-source --statistics
29+
${POETRY_RUN} flake8 --show-source --statistics
2830

2931
test:
3032
@echo testing
31-
pytest -rf --cov=./{{ cookiecutter.project_slug }}
33+
${POETRY_RUN} pytest -rf --cov=./{{ cookiecutter.project_slug }}
3234

3335

3436
##### k8s

{{ cookiecutter.project_slug }}/pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ dacite = "^1.5.0"
1010
pyyaml = "^5.3.1"
1111
fastapi = "^0.55.1"
1212
uvicorn = "^0.11.5"
13+
requests = "^2.24.0"
1314

1415
[tool.poetry.dev-dependencies]
1516
flake8 = "^3.7.9"

0 commit comments

Comments
 (0)