|
119 | 119 | # full name on Github (like Adafruit_CircuitPython_Bundle). |
120 | 120 | BUNDLE_IGNORE_LIST = [BUNDLE_REPO_NAME] |
121 | 121 |
|
122 | | -LIBRARY_DOESNT_NEED_BLINKA = "Adafruit_CircuitPython_ImageLoad" |
| 122 | +LIBRARIES_DONT_NEED_BLINKA = [ |
| 123 | + "Adafruit_CircuitPython_BusDevice", |
| 124 | + "Adafruit_CircuitPython_CircuitPlayground", |
| 125 | + "Adafruit_CircuitPython_FancyLED", |
| 126 | + "Adafruit_CircuitPython_IRRemote", |
| 127 | + "Adafruit_CircuitPython_ImageLoad", |
| 128 | + "Adafruit_CircuitPython_MCP9808", |
| 129 | + "Adafruit_CircuitPython_PCA9685", |
| 130 | + "Adafruit_CircuitPython_PCF8523", |
| 131 | + "Adafruit_CircuitPython_TLC59711", |
| 132 | + "Adafruit_CircuitPython_Waveform", |
| 133 | + "Adafruit_CircuitPython_miniQR", |
| 134 | +] |
123 | 135 |
|
124 | 136 | # Cache CircuitPython's subprojects on ReadTheDocs so its not fetched every repo check. |
125 | 137 | rtd_subprojects = None |
@@ -371,7 +383,7 @@ def _validate_requirements_txt(self, repo, file_info): |
371 | 383 | lines = contents.text.split("\n") |
372 | 384 | blinka_lines = [l for l in lines if re.match(r"[\s]*Adafruit-Blinka[\s]*", l)] |
373 | 385 |
|
374 | | - if not blinka_lines and repo["name"] not in LIBRARY_DOESNT_NEED_BLINKA: |
| 386 | + if not blinka_lines and repo["name"] not in LIBRARIES_DONT_NEED_BLINKA: |
375 | 387 | errors.append(ERROR_MISSING_BLINKA) |
376 | 388 | return errors |
377 | 389 |
|
|
0 commit comments