forked from tensorlayer/TensorLayer
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
36 lines (27 loc) · 715 Bytes
/
Makefile
File metadata and controls
36 lines (27 loc) · 715 Bytes
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
default:
@echo "Usage:"
@echo "\tmake lint # run pylint"
@echo "\tmake format # run yapf, autoflake and isort"
@echo "\tmake install3 # install tensorlayer in current workspace with pip3"
lint:
pylint examples/*.py
pylint tensorlayer
test:
python3 tests/models/test_model_core.py
python3 tests/layers/test_layernode.py
python3 tests/files/test_utils_saveload.py
format:
autoflake -ir examples
autoflake -ir tensorlayer
autoflake -ir tests
isort -rc examples
isort -rc tensorlayer
isort -rc tests
yapf -ir examples
yapf -ir tensorlayer
yapf -ir tests
install3:
pip3 install -U . --user
TAG = tensorlayer-docs:snaphot
doc:
docker build --rm -t $(TAG) -f docker/docs/Dockerfile .