Skip to content

Commit

Permalink
clean flake8
Browse files Browse the repository at this point in the history
  • Loading branch information
rbonghi committed Jan 27, 2025
1 parent c0abc74 commit 54141bf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 0 additions & 2 deletions src/nanosaur/docker.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,6 @@

def docker_info(platform):
"""Print Docker information."""
# Determine the device type
device_type = "robot" if platform['Machine'] == 'jetson' else "desktop"
# Print docker information
version_info = docker.version()
print(f"{TerminalFormatter.color_text(' Docker version:', bold=True)} {version_info.client.version}")
Expand Down
4 changes: 2 additions & 2 deletions src/nanosaur/ros.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
from python_on_whales import docker, DockerException
from nanosaur.prompt_colors import TerminalFormatter
from nanosaur.utilities import get_nanosaur_home
from git import Repo, GitCommandError, GitCommandError
from git import Repo, GitCommandError

# Set up the logger
logger = logging.getLogger(__name__)
Expand Down Expand Up @@ -203,7 +203,7 @@ def rosinstall_reader(workspace_path, rosinstall_path, src_folder="src") -> bool


def run_vcs_import(workspace_path, rosinstall_path, src_folder="src") -> bool:
"""
"""
Run the vcs import command to import repositories into a ROS workspace.
NOT USED ANYMORE, now we use the rosinstall_reader function.
"""
Expand Down

0 comments on commit 54141bf

Please sign in to comment.