-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathMakefile
More file actions
40 lines (29 loc) · 710 Bytes
/
Makefile
File metadata and controls
40 lines (29 loc) · 710 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
all: check cover lint format
check:
MYPYPATH=./src mypy -p iccli
test:
pytest
cover:
pytest --cov
cover-html:
pytest -x --cov --cov-report html
lint:
# PyCQA/pylint#214
pylint --disable=similarities src/iccli
format:
black --include '(\.pyi?|\.icp?)$$' .
prettier --end-of-line lf --write README.md
install:
pip install --user -e .[dev]
upgrade:
pip install --user -e .[dev] --upgrade
dist:
rm -rf .eggs build dist
find . -name *.egg-info | xargs rm -rf
python setup.py sdist bdist_wheel
.PHONY: dist
clean:
rm -rf .coverage .eggs .pytest_cache build htmlcov dist
find . -name *.egg-info | xargs rm -rf
find . -name .mypy_cache | xargs rm -rf
find . -name __pycache__ | xargs rm -rf