lint: fix unwanted indents.

pull/736/head
Thomas Senay 3 years ago
parent fae52d3687
commit c3a8ad8d38

@ -77,16 +77,16 @@ class Diagram:
# TODO: Label position option # TODO: Label position option
# TODO: Save directory option (filename + directory?) # TODO: Save directory option (filename + directory?)
def __init__( def __init__(
self, self,
name: str = "", name: str = "",
filename: str = "", filename: str = "",
direction: str = "LR", direction: str = "LR",
curvestyle: str = "ortho", curvestyle: str = "ortho",
outformat: str = "png", outformat: str = "png",
show: bool = True, show: bool = True,
graph_attr: dict = {}, graph_attr: dict = {},
node_attr: dict = {}, node_attr: dict = {},
edge_attr: dict = {}, edge_attr: dict = {},
): ):
"""Diagram represents a global diagrams context. """Diagram represents a global diagrams context.
@ -208,10 +208,10 @@ class Cluster:
# Cluster direction does not work now. Graphviz couldn't render # Cluster direction does not work now. Graphviz couldn't render
# correctly for a subgraph that has a different rank direction. # correctly for a subgraph that has a different rank direction.
def __init__( def __init__(
self, self,
label: str = "cluster", label: str = "cluster",
direction: str = "LR", direction: str = "LR",
graph_attr: dict = {}, graph_attr: dict = {},
): ):
"""Cluster represents a cluster context. """Cluster represents a cluster context.
@ -427,14 +427,14 @@ class Edge:
} }
def __init__( def __init__(
self, self,
node: "Node" = None, node: "Node" = None,
forward: bool = False, forward: bool = False,
reverse: bool = False, reverse: bool = False,
label: str = "", label: str = "",
color: str = "", color: str = "",
style: str = "", style: str = "",
**attrs: Dict, **attrs: Dict,
): ):
"""Edge represents an edge between two nodes. """Edge represents an edge between two nodes.

Loading…
Cancel
Save