Skip to content

Incremental engine for long horizon agents 🌟 Star if you like it!

576 B
Raw Blame
#!/usr/bin/env bash
# Lints the Rust workspace with clippy, failing on any warning: every crate
# with its default features, except the Rust SDK's crates and the CLI that
# builds on it (rust/cli), which dev/run_cargo_clippy_sdk.sh lints.
set -euo pipefail

ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
cd "$ROOT"

# `uv run` puts the project venv's Python first, for pyo3's build script.
uv run cargo clippy --workspace --exclude cocoindex --exclude cocoindex_macros \
  --exclude cocoindex_cli --exclude cocoindex_cli_fixture_app \
  --all-targets -- -D warnings