forked from tensorlayer/TensorLayer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
46 lines (40 loc) · 1.28 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
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 example/*.py
pylint tensorlayer
test:
python3 tests/test_yapf_format.py
# python3 tests/test_pydocstyle.py
python3 tests/test_mnist_simple.py
python3 tests/test_reuse_mlp.py
python3 tests/test_layers_basic.py
python3 tests/test_layers_convolution.py
python3 tests/test_layers_core.py
python3 tests/test_layers_extend.py
python3 tests/test_layers_flow_control.py
python3 tests/test_layers_importer.py
python3 tests/test_layers_merge.py
python3 tests/test_layers_normalization.py
python3 tests/test_layers_pooling.py
python3 tests/test_layers_recurrent.py
python3 tests/test_layers_shape.py
python3 tests/test_layers_spatial_transformer.py
python3 tests/test_layers_special_activation.py
python3 tests/test_layers_stack.py
python3 tests/test_layers_super_resolution.py
python3 tests/test_layers_time_distributed.py
format:
autoflake -i example/*.py
autoflake -i tensorlayer/*.py
autoflake -i tensorlayer/**/*.py
isort -rc example
isort -rc tensorlayer
yapf -i example/*.py
yapf -i tensorlayer/*.py
yapf -i tensorlayer/**/*.py
install3:
pip3 install -U . --user