-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy pathMakefile
29 lines (21 loc) · 858 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
black:
black --target-version py38 doubtlab tests setup.py
flake:
flake8 doubtlab tests setup.py
test:
pytest tests
install:
python -m pip install --upgrade pip
python -m pip install -e ".[dev]"
pre-commit install
interrogate:
interrogate -vv --ignore-nested-functions --ignore-semiprivate --ignore-private --ignore-magic --ignore-module --ignore-init-method --fail-under 100 tests
interrogate -vv --ignore-nested-functions --ignore-semiprivate --ignore-private --ignore-magic --ignore-module --ignore-init-method --fail-under 100 doubtlab
pypi:
python setup.py sdist
python setup.py bdist_wheel --universal
twine upload dist/*
clean:
rm -rf **/.ipynb_checkpoints **/.pytest_cache **/__pycache__ **/**/__pycache__ .ipynb_checkpoints .pytest_cache
style: clean black flake interrogate clean
check: clean black flake interrogate test clean