From 0a7208ff5aeda0968e8b858683b5368578e350c2 Mon Sep 17 00:00:00 2001 From: Chris Palmer Date: Sun, 31 Jan 2021 10:47:54 +0000 Subject: [PATCH] Fixed codespell path for multi-target builds. --- scripts/views.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/views.py b/scripts/views.py index f5dee74..b5e6f28 100755 --- a/scripts/views.py +++ b/scripts/views.py @@ -74,7 +74,7 @@ def bom_to_assemblies(bom_dir, bounds_map): # Remove the main assembly if it is a shell # if flat_bom: - ass = flat_bom[-1] + ass = flat_bom[-1] if len(ass["assemblies"]) < 2 and not ass["vitamins"] and not ass["printed"] and not ass["routed"]: flat_bom = flat_bom[:-1] return [assembly["name"] for assembly in flat_bom] @@ -388,7 +388,7 @@ def views(target, do_assemblies = None): # # Spell check # - do_cmd('codespell -L od readme.md'.split()) + do_cmd(('codespell -L od ' + top_dir + 'readme.md').split()) # # List the ones we didn't find #