From 9f33a88a9193d960d54590296f4e31af66dfd5d3 Mon Sep 17 00:00:00 2001 From: ShawnPana Date: Thu, 19 Mar 2026 21:17:36 -0700 Subject: [PATCH] fix formatting: line length in profile_use.py, missing blank line in tunnel.py --- browser_use/skill_cli/profile_use.py | 4 +++- browser_use/skill_cli/tunnel.py | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/browser_use/skill_cli/profile_use.py b/browser_use/skill_cli/profile_use.py index 4eb669b1b..a698541ab 100644 --- a/browser_use/skill_cli/profile_use.py +++ b/browser_use/skill_cli/profile_use.py @@ -48,7 +48,9 @@ def download_profile_use() -> Path: ) if result.returncode != 0: - raise RuntimeError('Failed to download profile-use. Try installing manually:\n curl -fsSL https://browser-use.com/profile/cli/install.sh | sh') + raise RuntimeError( + 'Failed to download profile-use. Try installing manually:\n curl -fsSL https://browser-use.com/profile/cli/install.sh | sh' + ) binary = get_profile_use_binary() if binary is None: diff --git a/browser_use/skill_cli/tunnel.py b/browser_use/skill_cli/tunnel.py index b42d15539..a4cba3a2f 100644 --- a/browser_use/skill_cli/tunnel.py +++ b/browser_use/skill_cli/tunnel.py @@ -26,6 +26,7 @@ logger = logging.getLogger(__name__) # Pattern to extract tunnel URL from cloudflared output _URL_PATTERN = re.compile(r'(https://\S+\.trycloudflare\.com)') + def _tunnels_dir() -> Path: """Get tunnel metadata directory (lazy to respect BROWSER_USE_HOME).""" from browser_use.skill_cli.utils import get_tunnel_dir