From fe8502b77a19004f70e9fc51a4e6e1591ccdef4c Mon Sep 17 00:00:00 2001 From: Chris Ren Date: Mon, 19 Oct 2026 01:00:17 -0500 Subject: [PATCH] Don't autoformat the dependencies folder ./dev.sh build unpacks the prebuilt dependencies, headers included, into the gitignored dependencies folder. autoformat walks it and runs clang-format over the vendored headers and sources there, rewriting them in place. Skip it like bypy and 3rdparty; setup.py clean already excludes it. --- autoformat | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoformat b/autoformat index f3881ef3c..15aa7ae16 100755 --- a/autoformat +++ b/autoformat @@ -34,7 +34,7 @@ threading.Thread(target=wait_go).start() clang_files = [] for x in os.listdir(base): - if x in ('dist', 'build', 'bypy', '3rdparty') or x.startswith('.'): + if x in ('dist', 'build', 'bypy', '3rdparty', 'dependencies') or x.startswith('.'): continue for root, dirnames, files in os.walk(os.path.join(base, x)): for file in files: