-
-
Notifications
You must be signed in to change notification settings - Fork 5
/
Makefile
43 lines (29 loc) · 813 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
40
41
42
43
all: install
black:
black lib/ufolint/*.py lib/ufolint/*/*.py
clean:
- rm dist/*.whl dist/*.tar.gz dist/*.zip
dist-build: clean
python3 setup.py sdist bdist_wheel
dist-push:
twine upload dist/*.whl dist/*.tar.gz
install:
pip3 install --ignore-installed -r requirements.txt .
install-dev:
pip3 install --ignore-installed -r requirements.txt -e ".[dev]"
install-user:
pip3 install --ignore-installed --user .
test: test-lint test-unit
test-coverage:
coverage run --source ufolint -m py.test
coverage report -m
# coverage html
test-lint:
flake8 --ignore=W50 lib/ufolint
test-type-check:
pytype lib/ufolint
test-unit:
tox
uninstall:
pip3 uninstall --yes ufolint
.PHONY: all black clean dist-build dist-push install install-dev install-user test test-lint test-type-check test-unit uninstall