Skip to content

Commit 89f71f7

Browse files
committed
build(Makefile): Use poetry in make tasks
1 parent 5daf7b1 commit 89f71f7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,13 @@ entr_warn:
1010
@echo "----------------------------------------------------------"
1111

1212
isort:
13-
isort `${PY_FILES}`
13+
poetry run isort `${PY_FILES}`
1414

1515
black:
16-
black `${PY_FILES}` --skip-string-normalization
16+
poetry run black `${PY_FILES}` --skip-string-normalization
1717

1818
test:
19-
py.test $(test)
19+
poetry run py.test $(test)
2020

2121
watch_test:
2222
if command -v entr > /dev/null; then ${PY_FILES} | entr -c $(MAKE) test; else $(MAKE) test entr_warn; fi

0 commit comments

Comments
 (0)