forked from mckinsey/causalnex
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
38 lines (27 loc) · 804 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
install:
pip install . -U
clean:
rm -rf build dist docs/build pip-wheel-metadata .mypy_cache .pytest_cache
find . -regex ".*/__pycache__" -exec rm -rf {} +
find . -regex ".*\.egg-info" -exec rm -rf {} +
pre-commit clean || true
legal:
python tools/license_and_headers.py
lint:
pre-commit run -a --hook-stage manual
test:
pytest tests
package: clean install
python setup.py sdist bdist_wheel
SPHINXPROJ = causalnex
install-doc-requirements:
pip install -r doc_requirements.txt -U
build-docs: install install-doc-requirements
./docs/build-docs.sh
install-test-requirements:
pip install -r test_requirements.txt -U
install-pre-commit: install-test-requirements
pre-commit install --install-hooks
uninstall-pre-commit:
pre-commit uninstall
pre-commit uninstall --hook-type pre-push