Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
da-liii committed Dec 30, 2023
1 parent abfea20 commit d7ca57d
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 10 deletions.
5 changes: 1 addition & 4 deletions plugins/BUILD.pants
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,4 @@ python_requirement(
resolve="sympy_req",
)

python_sources(
name="sources",
resolve="python-default"
)
python_sources(name="sources", resolve="python-default")
3 changes: 2 additions & 1 deletion plugins/graphviz.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,10 @@
# It comes WITHOUT ANY WARRANTY WHATSOEVER. For details, see the file LICENSE
# in the root directory or <http://www.gnu.org/licenses/gpl-3.0.html>.

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),
Expand Down
5 changes: 1 addition & 4 deletions tmpy/BUILD.pants
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
python_sources(
name="sources",
resolve=parametrize("sympy_req", "python-default")
)
python_sources(name="sources", resolve=parametrize("sympy_req", "python-default"))
3 changes: 2 additions & 1 deletion tmpy/graph/graphviz.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit d7ca57d

Please sign in to comment.