File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change 1515 @echo " JBI make rules:"
1616 @echo " "
1717 @echo " Local"
18+ @echo " clean - clean local cache folders"
1819 @echo " format - run formatters (black, isort), fix in place"
1920 @echo " lint - run linters"
2021 @echo " start - run the API service locally"
@@ -27,10 +28,16 @@ help:
2728 @echo " "
2829 @echo " help - see this text"
2930
31+ .PHONY : clean
32+ clean :
33+ find . -name " __pycache__" | xargs rm -rf
34+ rm -rf .mypy_cache .pytest_cache __pycache__ .coverage .venv
35+
36+
3037install : $(INSTALL_STAMP )
3138$(INSTALL_STAMP ) : poetry.lock
3239 @if [ -z $( shell command -v poetry 2> /dev/null) ]; then echo " Poetry could not be found. See https://python-poetry.org/docs/" ; exit 2; fi
33- poetry install --no-root
40+ POETRY_VIRTUALENVS_IN_PROJECT=1 poetry install --no-root
3441 touch $(INSTALL_STAMP )
3542
3643.PHONY : build
You can’t perform that action at this time.
0 commit comments