We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1a2051e + 4ea3cc8 commit fec3c0fCopy full SHA for fec3c0f
adabot/circuitpython_libraries.py
@@ -394,8 +394,7 @@ def validate_contents(repo):
394
if not examples_list.ok:
395
errors.append(ERROR_UNABLE_PULL_REPO_EXAMPLES)
396
examples_list = examples_list.json()
397
- examples_files = [x["name"] for x in examples_list if x["type"] == "file" and x["name"].endswith(".py")]
398
- if not examples_files:
+ if len(examples_list) < 1:
399
errors.append(ERROR_MISSING_EXAMPLE_FILES)
400
else:
401
errors.append(ERROR_MISSING_EXAMPLE_FOLDER)
0 commit comments