From 4e74aa2a9cbf24cb558faffc7647beec47c02f1a Mon Sep 17 00:00:00 2001 From: Daniel Rojas Date: Fri, 23 Oct 2020 20:13:31 +0200 Subject: [PATCH] Remove unused `check_designators()` function --- src/wireviz/wireviz.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/wireviz/wireviz.py b/src/wireviz/wireviz.py index 9ecef5a..692eef8 100755 --- a/src/wireviz/wireviz.py +++ b/src/wireviz/wireviz.py @@ -64,12 +64,6 @@ def parse(yaml_input: str, file_out: (str, Path) = None, return_types: (None, st # add connections - def check_designators(what, where): # helper function - for i, x in enumerate(what): - if x not in yaml_data[where[i]]: - return False - return True - autogenerated_ids = {} for connection in yaml_data['connections']: # find first component (potentially nested inside list or dict)