File tree Expand file tree Collapse file tree 1 file changed +94
-9
lines changed Expand file tree Collapse file tree 1 file changed +94
-9
lines changed Original file line number Diff line number Diff line change @@ -61,11 +61,53 @@ repos:
6161 - id : black
6262 exclude : |
6363 (?x)^(
64- ci/.+|
65- cmake/.+|
66- r/.+|
67- paddle/scripts/.+|
68- setup.py
64+ ci/.+
65+
66+ | cmake/.+
67+
68+ | r/.+
69+
70+ | paddle/scripts/.+
71+
72+ | setup.py
73+
74+ # | paddle/.+
75+
76+ # | python/paddle/[a-c].+
77+
78+ # | python/paddle/de.+
79+
80+ # | python/paddle/distributed/a.+
81+
82+ # | python/paddle/distributed/[b-e].+
83+
84+ # | python/paddle/distributed/f.+
85+
86+ # | python/paddle/distributed/[g-z].+
87+
88+ # | python/paddle/[e-i].+
89+
90+ # | python/paddle/j.+
91+
92+ # | python/paddle/[k-n].+
93+
94+ # | python/paddle/[o-t].+
95+
96+ # | python/paddle/[u-z].+
97+
98+ # | python/_.+
99+
100+ # | test/a.+
101+
102+ # | test/[b-h].+
103+
104+ # | test/[i-k].+
105+
106+ # | test/l.+
107+
108+ # | test/[m-z].+
109+
110+ # | tools/.+
69111 )$
70112 - repo : https://github.com/astral-sh/ruff-pre-commit
71113 rev : v0.12.0
@@ -75,10 +117,53 @@ repos:
75117 - id : ruff-format
76118 exclude : |
77119 (?x)^(
78- paddle/.+|
79- python/.+|
80- test/.+|
81- tools/.+
120+ # ci/.+
121+
122+ # | cmake/.+
123+
124+ # | r/.+
125+
126+ # | paddle/scripts/.+
127+
128+ # | setup.py
129+
130+ | paddle/.+
131+
132+ | python/paddle/[a-c].+
133+
134+ | python/paddle/de.+
135+
136+ | python/paddle/distributed/a.+
137+
138+ | python/paddle/distributed/[b-e].+
139+
140+ | python/paddle/distributed/f.+
141+
142+ | python/paddle/distributed/[g-z].+
143+
144+ | python/paddle/[e-i].+
145+
146+ | python/paddle/j.+
147+
148+ | python/paddle/[k-n].+
149+
150+ | python/paddle/[o-t].+
151+
152+ | python/paddle/[u-z].+
153+
154+ | python/_.+
155+
156+ | test/a.+
157+
158+ | test/[b-h].+
159+
160+ | test/[i-k].+
161+
162+ | test/l.+
163+
164+ | test/[m-z].+
165+
166+ | tools/.+
82167 )$
83168 # For C++ files
84169 - repo : local
You can’t perform that action at this time.
0 commit comments