Skip to content

Commit c365b94

Browse files
committed
revert unneeded subcommand. add new jsons to gitignore. return empty tuple instead of None if no custom libs
1 parent a356a51 commit c365b94

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

.github/workflows/build-images.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
echo PATH=$PATH >> $GITHUB_ENV
2121
- run: python3 -mpip install -r requirements.txt
2222
- run: git clone --depth=1 https://github.com/adafruit/Adafruit_Learning_System_Guides learn
23-
- run: env LEARN_GUIDE_REPO=learn/ python3 create_requirement_images.py learn
23+
- run: env LEARN_GUIDE_REPO=learn/ python3 create_requirement_images.py
2424
- uses: actions/upload-artifact@v4
2525
with:
2626
name: images

.gitignore

+2
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
__pycache__
66
latest_bundle_data.json
77
latest_bundle_tag.json
8+
latest_community_bundle_data.json
9+
latest_community_bundle_tag.json
810
generated_images
911

1012
# Virtual environment-specific files

create_requirement_images.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -393,7 +393,7 @@ def filter_custom_project_libs(project_file_set):
393393
which will in turn get included in the libraries list that the
394394
tool uses to generate the "main" lib folder in the screenshot.
395395
"""
396-
_custom_libs = None
396+
_custom_libs = tuple()
397397
remove_files = []
398398
for file in project_file_set:
399399
if not isinstance(file, tuple):

0 commit comments

Comments
 (0)