Spaces:
Running
Running
Download scripts/check.sh from FU-max-boop/traceuse-audit: direct link, hf CLI and curl.
- Browser
- Download file 475 Bytes
-
https://huggingface.co/spaces/FU-max-boop/traceuse-audit/resolve/main/scripts/check.sh
- Command line
-
hf download hf://spaces/FU-max-boop/traceuse-audit/scripts/check.sh
-
curl -L -o check.sh https://huggingface.co/spaces/FU-max-boop/traceuse-audit/resolve/main/scripts/check.sh
475 Bytes
| set -euo pipefail | |
| SPACE_ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)" | |
| cd "$SPACE_ROOT" | |
| export PYTHONDONTWRITEBYTECODE=1 | |
| python3 -m unittest discover -s tests -p 'test_*.py' -v | |
| node --test tests/test_app.js | |
| python3 - <<'PY' | |
| import ast | |
| from pathlib import Path | |
| for path in sorted(Path("traceuse").glob("*.py")): | |
| ast.parse(path.read_text(encoding="utf-8"), filename=str(path)) | |
| print("python_ast=PASS") | |
| PY | |
| printf '%s\n' 'space_checks=PASS' | |