Skip to content

Commit

Permalink
try to fix pep8
Browse files Browse the repository at this point in the history
  • Loading branch information
gailweiss committed Mar 1, 2024
1 parent 4a9694e commit 0a75dd9
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 5 deletions.
5 changes: 3 additions & 2 deletions RASP_support/DrawCompFlow.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
import string

# adds useful functions to all the Unfinisheds
# using dummyimport to import analyse with the relative "." because python
# using dummyimport to import analyse with the relative "." because python
# won't let me do "import .analyse"
from .analyse import dummyimport
from .analyse import dummyimport


# fix: in ordering, we always connect bottom FF to top select. but sometimes,
Expand Down Expand Up @@ -608,4 +608,5 @@ def draw_comp_flow(self, w, filename=None,
if not keep_dot:
os.remove(filename)


dummyimport = None
2 changes: 1 addition & 1 deletion RASP_support/Sugar.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
from .DrawCompFlow import dummyimport
# DrawCompFlow is not at all necessary for sugar, but sugar is really the
# top-level rasp file we import, and nice to have draw_comp_flow added into
# the sequences already on load. also, don't *really* need to import
# the sequences already on load. also, don't *really* need to import
# dummy specifically, but python won't accept "import .DrawCompFlow"
# while it will accept some form of "from .DrawCompFlow import ..."

Expand Down
2 changes: 1 addition & 1 deletion RASP_support/__main__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
from .REPL import REPL

REPL().run()
REPL().run()
3 changes: 2 additions & 1 deletion RASP_support/analyse.py
Original file line number Diff line number Diff line change
Expand Up @@ -354,4 +354,5 @@ def pre_aggregate_comp(seq):
vreal = vreal[seq.output_index]
return vreal

dummyimport = None

dummyimport = None

0 comments on commit 0a75dd9

Please sign in to comment.