Skip to content

Commit

Permalink
lint code
Browse files Browse the repository at this point in the history
  • Loading branch information
PhilippvK committed Jul 22, 2024
1 parent 6b02573 commit 8482fae
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 8 deletions.
6 changes: 0 additions & 6 deletions mlonmcu/target/host_x86_ssh.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,6 @@
#
"""MLonMCU Host/x86 Target definitions"""

import stat
from pathlib import Path

from mlonmcu.config import str2bool
from mlonmcu.setup.utils import execute
from .common import cli
from .ssh_target import SSHTarget
from .host_x86 import HostX86Target
Expand All @@ -48,7 +43,6 @@ def exec(self, program, *args, handle_exit=None, **kwargs):
output = self.exec_via_ssh(program, *args, **kwargs)
if handle_exit:
exit_code = handle_exit(0, out=output)
print("exit_code", exit_code)
assert exit_code == 0
return output, []

Expand Down
1 change: 1 addition & 0 deletions mlonmcu/target/riscv/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,5 @@
"AraRtlTarget",
"CV32E40PTarget",
"VicunaTarget",
"CanMvK230SSHTarget",
]
2 changes: 0 additions & 2 deletions mlonmcu/target/riscv/canmv_k230_ssh.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
# from pathlib import Path

from mlonmcu.logging import get_logger
from mlonmcu.setup.utils import execute
from mlonmcu.target.common import cli
from mlonmcu.target.metrics import Metrics
from mlonmcu.target.ssh_target import SSHTarget
Expand Down Expand Up @@ -62,7 +61,6 @@ def exec(self, program, *args, cwd=os.getcwd(), handle_exit=None, **kwargs):
output = self.exec_via_ssh(program, *args, **kwargs)
if handle_exit:
exit_code = handle_exit(0, out=output)
print("exit_code", exit_code)
assert exit_code == 0
return output

Expand Down

0 comments on commit 8482fae

Please sign in to comment.