Skip to content

Commit 03906ea

Browse files
committed
Functional changes to gen_exports
1 parent b25c02a commit 03906ea

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/trio/_tools/gen_exports.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,11 @@ def run_linters(file: File, source: str) -> str:
191191
print(response)
192192
sys.exit(1)
193193

194+
success, response = run_black(file, response)
195+
if not success:
196+
print(response)
197+
sys.exit(1)
198+
194199
return response
195200

196201

0 commit comments

Comments
 (0)