Skip to content

Commit

Permalink
remove unused imports & format
Browse files Browse the repository at this point in the history
  • Loading branch information
norswap committed Jan 15, 2024
1 parent 82504fe commit 311c537
Show file tree
Hide file tree
Showing 6 changed files with 1 addition and 11 deletions.
1 change: 0 additions & 1 deletion block_explorer.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
This module defines functions related to spinning a block explorer.
"""
import os
import shutil

import deps
from config import Config
Expand Down
2 changes: 0 additions & 2 deletions l1.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@

import json
import os
import shutil
import time
from subprocess import Popen

import l2_deploy
Expand Down
1 change: 0 additions & 1 deletion l2.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
"""

import os
import shutil

import l2_batcher
import l2_deploy
Expand Down
1 change: 0 additions & 1 deletion l2_engine.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import os
import shutil

import l2
from config import Config
Expand Down
1 change: 0 additions & 1 deletion l2_node.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import os
import shutil

import l2
from config import Config
Expand Down
6 changes: 1 addition & 5 deletions libroll/streams.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,6 @@
`sys.stdout`.
"""

####################################################################################################

import os


####################################################################################################

Expand Down Expand Up @@ -96,7 +92,7 @@ def write(self, s):
if self._closed:
raise ValueError("I/O operation on closed stream.")

with(open(self.path, "a")) as f:
with (open(self.path, "a")) as f:
f.write(s)

def close(self):
Expand Down

0 comments on commit 311c537

Please sign in to comment.