提交 bdd8dbe9 authored 作者: Doug's avatar Doug

Flake8 fix.

上级 198ec828
...@@ -75,7 +75,7 @@ def d3viz(fct, outfile, copy_deps=True, *args, **kwargs): ...@@ -75,7 +75,7 @@ def d3viz(fct, outfile, copy_deps=True, *args, **kwargs):
# Create DOT graph # Create DOT graph
formatter = PyDotFormatter(*args, **kwargs) formatter = PyDotFormatter(*args, **kwargs)
graph = formatter(fct) graph = formatter(fct)
dot_graph = escape_quotes(graph.create_dot()).replace('\n', '').replace('\r','') dot_graph = escape_quotes(graph.create_dot()).replace('\n', '').replace('\r', '')
# Create output directory if not existing # Create output directory if not existing
outdir = os.path.dirname(outfile) outdir = os.path.dirname(outfile)
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论