Fix linting

This commit is contained in:
yangdx 2025-05-18 07:17:21 +08:00
parent 38b862e993
commit 7263a1ccf9

View File

@ -13,6 +13,7 @@ NEO4J_URI = "bolt://localhost:7687"
NEO4J_USERNAME = "neo4j"
NEO4J_PASSWORD = "your_password"
def xml_to_json(xml_file):
try:
tree = ET.parse(xml_file)
@ -61,7 +62,6 @@ def xml_to_json(xml_file):
}
data["edges"].append(edge_data)
# Print the number of nodes and edges found
print(f"Found {len(data['nodes'])} nodes and {len(data['edges'])} edges")