forked from unionai-oss/pandera
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
42 lines (30 loc) · 923 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
39
40
41
42
.PHONY: tests clean clean-pyc upload-pypi-test upload-pypi requirements docs \
code-cov docs-clean
clean:
python setup.py clean
clean-pyc:
find . -name '*.pyc' -exec rm {} \;
upload-pypi-test:
python setup.py sdist bdist_wheel && \
twine upload --repository-url https://test.pypi.org/legacy/ dist/* && \
rm -rf dist
upload-pypi:
python setup.py sdist bdist_wheel && \
twine upload dist/* && \
rm -rf dist
requirements:
pip install -r requirements-dev.txt
docs-clean:
rm -rf docs/**/generated docs/**/methods docs/_build docs/source/_contents
docs: docs-clean
python -m sphinx -E "docs/source" "docs/_build" && make -C docs doctest
quick-docs:
python -m sphinx -E "docs/source" "docs/_build" -W && \
make -C docs doctest
code-cov:
pytest --cov-report=html --cov=pandera tests/
nox:
nox -r --envdir .nox-virtualenv
NOX_FLAGS ?= "-r"
nox-conda:
nox -db conda --envdir .nox-conda ${NOX_FLAGS}