my_gradio / scripts /format_backend.sh
xray918's picture
Upload folder using huggingface_hub
0ad74ed verified
raw
history blame contribute delete
261 Bytes
#!/bin/bash -eu
cd "$(dirname ${0})/.."
echo "Formatting the backend... Our style follows the ruff code style."
python -c "import gradio"
python -m ruff check --fix gradio test client
python -m ruff format gradio test client
bash scripts/type_check_backend.sh