8000 Merge pull request #2398 from jepler/excluded-mpy-subdirs-4.x · adafruit/circuitpython@8d43848 · GitHub 8000
[go: up one dir, main page]

Skip to content

Commit 8d43848

Browse files
authored
Merge pull request #2398 from jepler/excluded-mpy-subdirs-4.x
preprocess_frozen_modules: exclude subdirs of examples, docs, tests
2 parents c8eee68 + 1719a14 commit 8d43848

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tools/preprocess_frozen_modules.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ def copy_and_process(in_dir, out_dir):
3434

3535
# Skip library examples directories.
3636
if Path(root).name in ['examples', 'docs', 'tests']:
37+
del subdirs[:]
3738
continue
3839

3940
for file in files:

0 commit comments

Comments
 (0)
0