summaryrefslogtreecommitdiffstats
path: root/scripts/jira/jira-bug-closer/Makefile
blob: 8f0023e1741d2fc7eb0c55f0dda191c54207bedb (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
29
30
31
PIPENV := ~/.local/bin/pipenv

first:
	$(PIPENV) install

install_dev_dependencies:
	$(PIPENV) install --dev

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