File size: 327 Bytes
a03b3ba |
1 2 3 4 5 6 7 8 9 10 11 12 |
#!/bin/bash -eu
cd "$(dirname ${0})/.."
echo "Formatting the backend... Our style follows the ruff code style."
python -c "import gradio"
python -m ruff --fix gradio test
python -m ruff format gradio test
bash scripts/type_check_backend.sh
bash client/python/scripts/format.sh # Call the client library's formatting script
|