Skip to content

Commit 9a47f09

Browse files
authored
Merge pull request #5910 from OSHChip/typo-fix
fix typos in lint.py
2 parents b67b69e + 6f9aa07 commit 9a47f09

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tools/targets/lint.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ def _split_boards(resolution_order, tgt):
163163
def _generate_hierarchy_string(mcus, boards):
164164
global_errors = []
165165
if len(mcus) < 1:
166-
global_errors.append("No MCUS found in heirarchy")
166+
global_errors.append("No MCUS found in hierarchy")
167167
mcus_string = "??? ->"
168168
elif len(mcus) > 3:
169169
global_errors.append("No name for targets %s" % ", ".join(mcus[3:]))
@@ -174,7 +174,7 @@ def _generate_hierarchy_string(mcus, boards):
174174
mcus_string = MCU_FORMAT_STRING[len(mcus)] % tuple(mcus)
175175

176176
if len(boards) < 1:
177-
global_errors.append("no boards found in heirarchy")
177+
global_errors.append("no boards found in hierarchy")
178178
boards_string = "???"
179179
elif len(boards) > 2:
180180
global_errors.append("no name for targets %s" % ", ".join(boards[2:]))
@@ -187,7 +187,7 @@ def _generate_hierarchy_string(mcus, boards):
187187

188188

189189
def check_hierarchy(tgt):
190-
"""Atempts to assign labels to the heirarchy"""
190+
"""Atempts to assign labels to the hierarchy"""
191191
resolution_order = copy(tgt.resolution_order_names[:-1])
192192
mcus, boards = _split_boards(resolution_order, tgt)
193193

0 commit comments

Comments
 (0)