forked from unionai-oss/pandera
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
37 lines (27 loc) · 786 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
.PHONY: tests clean clean-pyc upload-pypi-test upload-pypi requirements docs \
code-cov
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:
rm -rf docs/**/generated docs/**/methods docs/_build && \
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}