-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
39 lines (32 loc) · 909 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
.PHONY: init
init: ## install poetry and dev deps
pip install --user poetry
poetry install
poetry env use python
poetry shell
.PHONY: format
format: ## run code formatters
poetry run isort -rc -sp .isort.cfg .
poetry run black .
.PHONY: check_format
check_format: ## check for code formatter errors
poetry run flake8
.PHONY: version
version:
bump2version setup.cfg --new-version $(new-version)
#.PHONY: test
#test: ## run test suite
# poetry run python -m pytest -vv tests
#.PHONY: coverage
#coverage: ## run test suite and output coverage files
# poetry run python -m pytest \
# --verbose \
# --cov-report term \
# --cov-report html:coverage/html \
# --cov-report xml:coverage/coverage.xml \
# --cov-report annotate:coverage/annotate \
# --cov=va_framework \
# tests
.PHONY: jupyter_env
jupyter_env:
python -m ipykernel install --user --name=espn-fantasy-matchup-stats-56bijx1e