aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
blob: 3d03560ba604baeac24677afea8a422fd7a97d0f (plain) (blame)
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
.PHONY: tests
.DEFAULT_GOAL := check

check:
	mypy --follow-imports=silent src

format:
	isort src
	black src

debug:
	python -m debugpy --listen 5678 --wait-for-client -m epy_reader

dev:
	poetry install

tests:
	python -m pytest -vv

coverage:
	coverage run --include=epy.py -m pytest -vv tests
	coverage html
	python -m http.server -d htmlcov

release:
	python -m build
	twine upload --skip-existing dist/*