fix formatting: line length in profile_use.py, missing blank line in tunnel.py

This commit is contained in:
ShawnPana
2026-03-19 21:17:36 -07:00
parent f0ca934ae0
commit 9f33a88a91
2 changed files with 4 additions and 1 deletions

View File

@@ -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:

View File

@@ -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