forked from bczsalba/pytermgui
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
37 lines (25 loc) · 629 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
# This file is generated by `. project-config`. Any changes made here are overwritten.
.PHONY: all test cover
PROJECT = pytermgui
install:
pip3 install -e .
all:
make install format lint list-todo
format:
isort $(PROJECT) && black $(PROJECT)
lint:
pylint $(PROJECT)
lint-prose:
python3 utils/lint_prose.py
type:
mypy $(PROJECT)
list-todo:
python3 utils/list_todos.py "`grep -rnw . -e '# TODO'`"
test:
pytest --cov='./pytermgui'
cover:
coverage html
test-cov:
make test cover
docs:
pdoc --logo https://github.com/bczsalba/pytermgui/blob/master/assets/title.png?raw=true --docformat google -o docs pytermgui