Node skip on no IF in reclass
diff --git a/cfg_checker/nodes.py b/cfg_checker/nodes.py
index 30de749..b2bfd88 100644
--- a/cfg_checker/nodes.py
+++ b/cfg_checker/nodes.py
@@ -83,6 +83,18 @@
)
)
+ def skip_node(self, node):
+ # Add node to skip list
+ # Fro example if it is fails to comply with the rules
+
+ # check if we know such node
+ if node in self.nodes.keys() and node not in self.skip_list:
+ # yes, add it
+ self.skip_list.append(node)
+ return True
+ else:
+ return False
+
def get_nodes(self):
return self.nodes