Skip to content

Commit c74f40c

Browse files
authoredJan 14, 2020
Fix build test. (#1057)
* 2.2.1 release * Fix build test. * apply yapf * ping yapf to 0.28.0 * fix build * use yapf 0.29 * fix yapf * include tests in make format. * ping autoflake and isort version.
1 parent 8e3ff1d commit c74f40c

File tree

158 files changed

+1043
-1067
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

158 files changed

+1043
-1067
lines changed
 

‎CHANGELOG.md

+5-4
Original file line numberDiff line numberDiff line change
@@ -80,16 +80,17 @@ To release a new version, please update the changelog as followed:
8080

8181
### Fixed
8282

83-
- Fix README. (#PR 1044)
84-
- Fix package info. (#PR 1046)
83+
- Fix README. (#1044)
84+
- Fix package info. (#1046)
85+
- Fix build test (Using YAPF 0.29) (#1057)
8586

8687
### Removed
8788

8889
### Security
8990

9091
### Contributors
9192

92-
- @luomai (PR #1044, 1046)
93+
- @luomai (#1044, #1046, #1057)
9394

9495

9596
## [2.2.0] - 2019-09-13
@@ -150,7 +151,7 @@ This release is compatible with TensorFlow 2 RC1.
150151
- Replace tf.nn.func with tf.nn.func.\_\_name\_\_ in model config. (PR #994)
151152
- Add Reinforcement learning tutorials. (PR #995)
152153
- Add RNN layers with simple rnn cell, GRU cell, LSTM cell. (PR #998)
153-
- Update Seq2seq (#998)
154+
- Update Seq2seq (#998)
154155
- Add Seq2seqLuongAttention model (#998)
155156

156157
### Fixed

‎Makefile

+7-6
Original file line numberDiff line numberDiff line change
@@ -14,16 +14,17 @@ test:
1414
python3 tests/files/test_utils_saveload.py
1515

1616
format:
17-
autoflake -i examples/*.py
18-
autoflake -i tensorlayer/*.py
19-
autoflake -i tensorlayer/**/*.py
17+
autoflake -ir examples
18+
autoflake -ir tensorlayer
19+
autoflake -ir tests
2020

2121
isort -rc examples
2222
isort -rc tensorlayer
23+
isort -rc tests
2324

24-
yapf -i examples/*.py
25-
yapf -i tensorlayer/*.py
26-
yapf -i tensorlayer/**/*.py
25+
yapf -ir examples
26+
yapf -ir tensorlayer
27+
yapf -ir tests
2728

2829
install3:
2930
pip3 install -U . --user

0 commit comments

Comments
 (0)