forked from kedro-org/kedro
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
38 lines (28 loc) · 868 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: build-docs
cp -r docs/build/html kedro
pip install .
clean:
rm -rf build dist docs/build kedro/html pip-wheel-metadata
find . -regex ".*/__pycache__" -exec rm -rf {} +
find . -regex ".*\.egg-info" -exec rm -rf {} +
install-pip-setuptools:
python -m pip install -U "pip>=18.0, <19.0" "setuptools>=38.0, <39.0" wheel
legal:
python tools/license_and_headers.py
lint:
isort
pylint -j 0 --disable=unnecessary-pass kedro
pylint -j 0 --disable=missing-docstring,redefined-outer-name,no-self-use,invalid-name tests
pylint -j 0 --disable=missing-docstring,no-name-in-module features
flake8 kedro tests features --exclude kedro/template*
test:
pytest tests
e2e-tests:
behave
SPHINXPROJ = Kedro
build-docs:
./docs/build-docs.sh
devserver: build-docs
cd docs && npm install && npm start
package: clean install
python setup.py sdist bdist_wheel