diff --git a/run_tests.py b/run_tests.py index f776e8ab..83c1e127 100644 --- a/run_tests.py +++ b/run_tests.py @@ -155,9 +155,16 @@ def check_result(status: str, new_part: bool) -> bool: kicad_result = False inventree_result = False # Fetch supplier data - supplier_info = inventree_interface.supplier_search(supplier='Digi-Key', part_number=number, test_mode=True) + supplier_info = inventree_interface.supplier_search( + supplier='Digi-Key', + part_number=number, + test_mode=True, + ) # Translate to form - part_info = inventree_interface.translate_supplier_to_form(supplier='Digi-Key', part_info=supplier_info) + part_info = inventree_interface.translate_supplier_to_form( + supplier='Digi-Key', + part_info=supplier_info, + ) # Stitch categories and parameters part_info.update({ 'category_tree': [supplier_info['category'], supplier_info['subcategory']],