blob: 12af7e771749b893824e866bba7531eeadf4f7ba (
plain)
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
|
PIPENV := /usr/bin/env pipenv
first:
$(PIPENV) install
run:
$(PIPENV) run ./main.py
production:
$(PIPENV) run ./main.py --production
oauth:
$(PIPENV) run ./oauth_dance.py
test: flake8 mypy
$(PIPENV) run py.test
flake8:
$(PIPENV) run flake8
coverage:
$(PIPENV) run py.test --cov-report=term --cov-report=html --cov=.
xdg-open htmlcov/index.html
mypy:
$(PIPENV) run mypy --strict --ignore-missing-imports *.py
check: test flake8 mypy
|