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.
1 parent 894c5c8 commit 0492235Copy full SHA for 0492235
scripts/ci/check_compliance.py
@@ -264,8 +264,12 @@ def run(self):
264
line = line.strip()
265
if not line or line.startswith("#"):
266
continue
267
- vendor, _ = line.split("\t", 2)
268
- vendor_prefixes.append(vendor)
+ try:
+ vendor, _ = line.split("\t", 2)
269
+ vendor_prefixes.append(vendor)
270
+ except ValueError:
271
+ self.error(f"Invalid line in vendor-prefixes.txt:\"{line}\".")
272
+ self.error("Did you forget the tab character?")
273
274
path = Path(ZEPHYR_BASE)
275
for file in path.glob("**/board.yml"):
0 commit comments