mirror of
https://github.com/browser-use/browser-use
synced 2026-05-06 17:52:15 +02:00
14 lines
306 B
Bash
Executable File
14 lines
306 B
Bash
Executable File
#!/usr/bin/env bash
|
|
# This script is used to run the formatter, linter, and type checker pre-commit hooks.
|
|
# Usage:
|
|
# $ ./bin/lint.sh
|
|
|
|
IFS=$'\n'
|
|
|
|
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
|
|
|
|
cd "$SCRIPT_DIR/.." || exit 1
|
|
|
|
uv run pre-commit run --all-files
|
|
exec pyright
|