diff --git a/plugins/BUILD.pants b/plugins/BUILD.pants index 1f01d8c..f870cf4 100644 --- a/plugins/BUILD.pants +++ b/plugins/BUILD.pants @@ -4,7 +4,4 @@ python_requirement( resolve="sympy_req", ) -python_sources( - name="sources", - resolve="python-default" -) +python_sources(name="sources", resolve="python-default") diff --git a/plugins/graphviz.py b/plugins/graphviz.py index a9b2847..249cef1 100644 --- a/plugins/graphviz.py +++ b/plugins/graphviz.py @@ -8,9 +8,10 @@ # It comes WITHOUT ANY WARRANTY WHATSOEVER. For details, see the file LICENSE # in the root directory or . -from tmpy.graph.graphviz import Graphviz from tmpy.protocol import DATA_COMMAND, flush_prompt, flush_verbatim +from tmpy.graph.graphviz import Graphviz + graphs = list( map( lambda x: Graphviz(x), diff --git a/tmpy/BUILD.pants b/tmpy/BUILD.pants index 4e3c9d5..38de988 100644 --- a/tmpy/BUILD.pants +++ b/tmpy/BUILD.pants @@ -1,4 +1 @@ -python_sources( - name="sources", - resolve=parametrize("sympy_req", "python-default") -) +python_sources(name="sources", resolve=parametrize("sympy_req", "python-default")) diff --git a/tmpy/graph/graphviz.py b/tmpy/graph/graphviz.py index 9e0aad6..fbad275 100644 --- a/tmpy/graph/graphviz.py +++ b/tmpy/graph/graphviz.py @@ -12,9 +12,10 @@ import sys from subprocess import PIPE, Popen -from tmpy.graph.graph import Graph from tmpy.protocol import flush_file, flush_verbatim +from tmpy.graph.graph import Graph + class Graphviz(Graph): def __init__(self, name):