Files
ml-sdk/script/make_utils/check_forbidden_words.sh
zeekay bde2e2531b Initial commit: Lux FHE ML SDK
Machine Learning with FHE - fork of Zama Concrete-ML
- Built-in FHE-friendly ML models
- scikit-learn compatible API
- PyTorch model conversion
- Quantization-aware training
2025-12-27 21:08:09 -08:00

34 lines
706 B
Bash
Executable File

#!/usr/bin/env bash
set -e
EXTRA_OPTIONS=""
while [ -n "$1" ]
do
case "$1" in
"--open" )
EXTRA_OPTIONS="$EXTRA_OPTIONS $1"
;;
*)
echo "Unknown param : $1"
exit 1
;;
esac
shift
done
# Check documentation
MD_FILES=$(find ./*.md use_case_examples docs -type f -name "*.md")
# shellcheck disable=SC2086
poetry run python script/doc_utils/check_forbidden_words.py --files $MD_FILES $EXTRA_OPTIONS
# Check sources
PY_FILES=$(find ./*.py src benchmarks use_case_examples docs -type f -name "*.py")
# shellcheck disable=SC2086
poetry run python script/doc_utils/check_forbidden_words.py --files $PY_FILES $EXTRA_OPTIONS