Spaces:
Runtime error
Runtime error
neoai-kterasawa
commited on
Commit
Β·
3ebb4d8
1
Parent(s):
d0f90f1
add makefile
Browse files
makefile
CHANGED
@@ -5,3 +5,10 @@ lint: ## run tests with poetry (isort, black, pflake8, mypy)
|
|
5 |
poetry run pflake8 src
|
6 |
poetry run mypy src --explicit-package-bases
|
7 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
5 |
poetry run pflake8 src
|
6 |
poetry run mypy src --explicit-package-bases
|
7 |
|
8 |
+
.PHONY: test
|
9 |
+
test: ## run tests with poetry
|
10 |
+
poetry run pytest tests/
|
11 |
+
|
12 |
+
.PHONY: run
|
13 |
+
run: ## run the application
|
14 |
+
poetry run python app.py
|