forked from pandas-dev/pandas
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
40 lines (30 loc) · 883 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
.PHONY : develop build clean clean_pyc doc lint-diff black
all: develop
clean:
-python setup.py clean
clean_pyc:
-find . -name '*.py[co]' -exec rm {} \;
build: clean_pyc
python setup.py build_ext --inplace
lint-diff:
git diff upstream/master --name-only -- "*.py" | xargs flake8
black:
black .
develop: build
python -m pip install --no-build-isolation -e .
doc:
-rm -rf doc/build doc/source/generated
cd doc; \
python make.py clean; \
python make.py html
check:
python3 scripts/validate_unwanted_patterns.py \
--validation-type="private_function_across_module" \
--included-file-extensions="py" \
--excluded-file-paths=pandas/tests,asv_bench/ \
pandas/
python3 scripts/validate_unwanted_patterns.py \
--validation-type="private_import_across_module" \
--included-file-extensions="py" \
--excluded-file-paths=pandas/tests,asv_bench/,doc/
pandas/