Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit d15f936

Browse files
committedJun 28, 2020
Makefile: Use poetry
1 parent 5ff018b commit d15f936

File tree

1 file changed

+4
-11
lines changed

1 file changed

+4
-11
lines changed
 

‎Makefile

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@ entr_warn:
99
@echo "----------------------------------------------------------"
1010

1111
isort:
12-
isort `${PY_FILES}`
12+
poetry run isort `${PY_FILES}`
1313

1414
black:
15-
black `${PY_FILES}` --skip-string-normalization
15+
poetry run black `${PY_FILES}` --skip-string-normalization
1616

1717
test:
18-
py.test $(test)
18+
poetry run py.test $(test)
1919

2020
watch_test:
2121
if command -v entr > /dev/null; then ${PY_FILES} | entr -c $(MAKE) test; else $(MAKE) test entr_warn; fi
@@ -27,14 +27,7 @@ watch_docs:
2727
cd doc && $(MAKE) watch_docs
2828

2929
flake8:
30-
flake8 tmuxp tests
30+
poetry run flake8 tmuxp tests
3131

3232
watch_flake8:
3333
if command -v entr > /dev/null; then ${PY_FILES} | entr -c $(MAKE) flake8; else $(MAKE) flake8 entr_warn; fi
34-
35-
sync_pipfile:
36-
pipenv install --skip-lock --dev -r requirements/doc.txt && \
37-
pipenv install --skip-lock --dev -r requirements/dev.txt && \
38-
pipenv install --skip-lock --dev -r requirements/test.txt && \
39-
pipenv install --skip-lock --dev -e . && \
40-
pipenv install --skip-lock -r requirements/base.txt

0 commit comments

Comments
 (0)
Please sign in to comment.