mirror of
https://github.com/anomalyco/opencode-sdk-python.git
synced 2026-05-17 12:42:25 +00:00
16 lines
263 B
Bash
Executable file
16 lines
263 B
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
set -e
|
|
|
|
cd "$(dirname "$0")/.."
|
|
|
|
if [ "$1" = "--fix" ]; then
|
|
echo "==> Running lints with --fix"
|
|
rye run fix:ruff
|
|
else
|
|
echo "==> Running lints"
|
|
rye run lint
|
|
fi
|
|
|
|
echo "==> Making sure it imports"
|
|
rye run python -c 'import opencode_ai'
|