Skip to content

Commit

Permalink
add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
SigureMo committed Sep 23, 2022
1 parent b9825a5 commit 02380df
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,11 @@ repos:
- id: remove-tabs
files: (.*\.(py|bzl)|BUILD|.*\.BUILD|WORKSPACE)$
args: [--whitespaces-count, '4']
# Exclude the fluid directory but keep the fluid/tests directory.
# And exclude some unit test files that require tabs.
exclude: |
(?x)^(
python/paddle/fluid/(?!.*tests).+|
python/paddle/fluid/tests/unittests/collective/fleet/test_hdfs1.py|
python/paddle/fluid/tests/unittests/dygraph_to_static/test_error.py
)$
Expand Down

0 comments on commit 02380df

Please sign in to comment.