Skip to content

Commit 5dd582d

Browse files
committed
change import location of enums
1 parent 554bb5b commit 5dd582d

File tree

7 files changed

+225
-232
lines changed

7 files changed

+225
-232
lines changed

preciceconfigcheck/rules/compositional_coupling.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@ def check(self, graph: Graph) -> list[Violation]:
3939
g1 = nx.subgraph_view(graph, filter_node=filter_coupling_scheme_nodes)
4040
for coupling in g1.nodes():
4141
if (
42-
coupling.type == e.CouplingSchemeType.SERIAL_EXPLICIT
43-
or coupling.type == e.CouplingSchemeType.SERIAL_IMPLICIT
42+
coupling.type == e.CouplingSchemeType.SERIAL_EXPLICIT
43+
or coupling.type == e.CouplingSchemeType.SERIAL_IMPLICIT
4444
):
4545
# Directed edge between first and second participant
4646
coupling_edges += [

preciceconfigcheck/rules/data_use_read_write.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
from collections import defaultdict
21
import networkx as nx
32
from networkx import Graph
43
from precice_config_graph.nodes import (

0 commit comments

Comments
 (0)