Skip to content

Open-source Python library for AI browser agents, plus Browser Use Cloud: stealth browsers and a hosted agent API.

tweak lint bin scripts

Nick Sweetingc12f7a97ae69
diff --git a/bin/lint.sh b/bin/lint.sh
index 214ea2535..e834f8880 100755
--- a/bin/lint.sh
+++ b/bin/lint.sh
@@ -9,5 +9,8 @@ SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
cd "$SCRIPT_DIR/.." || exit 1
+echo "[*] Running ruff linter, formatter, and other pre-commit lint checks..."
uv run pre-commit run --all-files
+
+echo "[*] Running pyright type checker..."
exec pyright
diff --git a/bin/test.sh b/bin/test.sh
index 32f07f973..a36847c5f 100755
--- a/bin/test.sh
+++ b/bin/test.sh
@@ -6,4 +6,4 @@
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
cd "$SCRIPT_DIR/.." || exit 1
-exec uv run pytest -x --numprocesses auto tests/ci
+exec uv run pytest -xsv --numprocesses auto tests/ci