Skip to content

Commit ee20334

Browse files
authored
[CodeStyle] format some dy2static unittests (#46463)
* [CodeStyle] reformat test_error * update lineno * remove test_error from yapf whitelist * try format test_origin_info * try to fix origin info test case * remove future import * remove test_origin_info from yapf excludes * empty commit, test=document_fix * empty commit
1 parent 84f7835 commit ee20334

File tree

3 files changed

+116
-90
lines changed

3 files changed

+116
-90
lines changed

.pre-commit-config.yaml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,6 @@ repos:
3030
hooks:
3131
- id: yapf
3232
files: (.*\.(py|bzl)|BUILD|.*\.BUILD|WORKSPACE)$
33-
exclude: |
34-
(?x)^(
35-
python/paddle/fluid/tests/unittests/dygraph_to_static/test_error.py|
36-
python/paddle/fluid/tests/unittests/dygraph_to_static/test_origin_info.py
37-
)$
3833
- repo: https://github.com/PyCQA/flake8
3934
rev: 4.0.1
4035
hooks:

0 commit comments

Comments
 (0)