-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
executable file
·46 lines (30 loc) · 844 Bytes
/
Makefile
File metadata and controls
executable file
·46 lines (30 loc) · 844 Bytes
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
44
45
46
all: install
black:
black -l 90 lib/fontsize/*.py
import-format:
isort lib
format: import-format black
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 fontsize -m py.test
coverage report -m
# coverage html
test-lint:
flake8 --ignore=W50 lib/fontsize
test-unit:
tox
uninstall:
pip3 uninstall --yes fontsize
.PHONY: all black clean dist-build dist-push format import-format install install-dev install-user test test-lint test-type-check test-unit uninstall