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.
This commit is contained in:
Chris Ren 2026-10-19 01:00:17 -05:00
parent 9a8c61d402
commit fe8502b77a

View file

@ -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: