Static analysis
1 tool
| Tool | Kind | Command | Runs in | Found in |
|---|---|---|---|---|
clippy |
Linting | cargo clippy -p bitcannon --all-targets --target wasm32-wasip1 --target wasm3...cargo clippy --all-targets --all-features -- -D warningscargo clippy --workspace --all-targets --all-features -- -D warnings |
ci, local | .github/workflows/bitcannon.yml .github/workflows/node.yml .github/workflows/python.yml .github/workflows/rust.yml |
Testing
3 tools
| Tool | Kind | Command | Runs in | Found in |
|---|---|---|---|---|
cargo-test |
Unit and integration tests | cargo test -p bitcannoncargo test -p bitcannon --no-run --message-format=jsoncargo test -p bitcannon --target wasm32-wasip1 |
ci, local | .github/workflows/bitcannon.yml .github/workflows/rust.yml tokenizers/Makefile |
ci-matrix |
Version and platform matrix | wasm (rustflags: 2)test-wheel (config: 12)build_and_test (os: 3) |
ci | .github/workflows/bitcannon.yml .github/workflows/python-release.yml .github/workflows/rust.yml |
pytest |
Unit and integration tests | pytest tests -m not network |
ci | .github/workflows/python-release.yml |
Formatting and hygiene
1 tool
| Tool | Kind | Command | Runs in | Found in |
|---|---|---|---|---|
rustfmt |
Formatting | cargo fmt -- --checkcargo fmt --all -- --checkcargo fmt --all -- |
ci, local | .github/workflows/node.yml .github/workflows/rust.yml tokenizers/Makefile bindings/node/rustfmt.toml |
Supply chain
1 tool
| Tool | Kind | Command | Runs in | Found in |
|---|---|---|---|---|
cargo-audit |
Dependency audit | cargo audit -D warnings -f bindings/node/Cargo.lockcargo audit -D warnings -f bindings/python/Cargo.lockcargo audit -D warnings -f tokenizers/Cargo.lock |
ci | .github/workflows/node.yml .github/workflows/python.yml .github/workflows/rust.yml |
3 other commands the scanner could not classify
Commands from CI steps and task runners that look like checks but match no known tool. Some are checks, some are not.
cargo semver-checks --package tokenizershf download hf-internal-testing/tokenizers-test-data gpt2.json albert-base-v1-tokenizer.json --repo-type dataset --re...twine check --strict dist/*
Review prompts
most discussed first