Fixed flake8 small details
This commit is contained in:
parent
f231ac6835
commit
9a0e2bdd24
|
|
@ -75,7 +75,7 @@ KIBOM_TEST_COMPONENTS_ALT = ['C1-C4', 'R9-R10', 'R7', 'R8', 'R1-R5']
|
|||
KIBOM_TEST_COMPONENTS_ALT2 = ['C1-C4', 'R9-R10', 'R7', 'R8', 'R1-R2', 'R4-R5', 'R3']
|
||||
KIBOM_TEST_EXCLUDE = ['R6']
|
||||
KIBOM_TEST_GROUPS = 5
|
||||
LINK_HEAD = ['References', 'Part', 'Value', 'Quantity Per PCB', 'digikey#', 'digikey_alt#','manf#']
|
||||
LINK_HEAD = ['References', 'Part', 'Value', 'Quantity Per PCB', 'digikey#', 'digikey_alt#', 'manf#']
|
||||
LINKS_COMPONENTS = ['J1', 'J2', 'R1']
|
||||
LINKS_EXCLUDE = ['C1']
|
||||
LINKS_GROUPS = 2
|
||||
|
|
|
|||
|
|
@ -512,4 +512,3 @@ def test_error_int_bom_unknown_style():
|
|||
ctx.run(EXIT_BAD_CONFIG)
|
||||
assert ctx.search_err("Unknown style .?bogus.?")
|
||||
ctx.clean_up()
|
||||
|
||||
|
|
|
|||
|
|
@ -393,7 +393,7 @@ class TestContext(object):
|
|||
if m:
|
||||
stats = m.group(1)
|
||||
stats_entries = []
|
||||
for tit, val in re.findall('<b>(.*?)</b>:\s+(\d+).*?<br>', stats):
|
||||
for tit, val in re.findall(r'<b>(.*?)</b>:\s+(\d+).*?<br>', stats):
|
||||
val = int(val)
|
||||
sh_head['stats_'+tit] = val
|
||||
stats_entries.append(val)
|
||||
|
|
|
|||
Loading…
Reference in New Issue