Build latest book artifacts / build (push) Canceled after 0s
dependency resolution / resolve (3.11) (push) Canceled after 0s
dependency resolution / resolve (3.13) (push) Canceled after 0s
deploy-pages / build (push) Canceled after 0s
deploy-pages / deploy (push) Canceled after 0s
i18n consistency check / check (push) Canceled after 0s
provider adoption tests / test (chapter2/context-compression) (push) Canceled after 0s
provider adoption tests / test (chapter2/prompt-injection) (push) Canceled after 0s
provider adoption tests / test (chapter2/system-hint) (push) Canceled after 0s
provider adoption tests / test (chapter3/log-sanitization) (push) Canceled after 0s
web-search-agent tests / test (push) Canceled after 0s
web-search-agent tests / agentbook (push) Canceled after 0s
14 lines
394 B
Bash
Executable File
14 lines
394 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
|
|
|
|
echo "[*] Running ruff linter, formatter, pyright type checker, and other pre-commit checks..."
|
|
exec uv run pre-commit run --all-files
|