forked from ydataai/ydata-profiling
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
55 lines (45 loc) · 1.03 KB
/
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
43
44
45
46
47
48
49
50
51
52
53
54
55
.PHONY: docs examples
docs:
rm -rf docs/
mkdir docs/
# pdoc3
cp -a ./docsrc/assets/ ./docs/assets/
pdoc3 --html --force --output-dir docs pandas_profiling
mv docs/pandas_profiling/* docs
rmdir docs/pandas_profiling
# sphinx
cd docsrc/ && make github
test:
pytest tests/unit/
pytest tests/issues/
pytest --nbval tests/notebooks/
flake8 . --select=E9,F63,F7,F82 --show-source --statistics
test_cov:
pytest --cov=. tests/unit/
pytest --cov=. --cov-append tests/issues/
pytest --cov=. --cov-append --nbval tests/notebooks/
pandas_profiling -h
make typing
examples:
find ./examples -maxdepth 2 -type f -name "*.py" -execdir python {} \;
pypi_package:
make install
check-manifest
python setup.py sdist bdist_wheel
twine check dist/*
twine upload --skip-existing dist/*
install:
pip install -e .[notebook]
lint:
pre-commit run --all-files
typing:
pytest --mypy -m mypy .
clean:
git rm --cached `git ls-files -i --exclude-from=.gitignore`
all:
make lint
make install
make examples
make docs
make test
make typing