Download client/python/scripts/format.sh from mindmime/gradio: direct link, hf CLI and curl.
- Browser
- Download file 258 Bytes
-
https://huggingface.co/spaces/mindmime/gradio/resolve/main/client/python/scripts/format.sh
- Command line
-
hf download hf://spaces/mindmime/gradio/client/python/scripts/format.sh
-
curl -L -o format.sh https://huggingface.co/spaces/mindmime/gradio/resolve/main/client/python/scripts/format.sh
258 Bytes
| cd "$(dirname ${0})/.." | |
| echo "Formatting the client library.. Our style follows the ruff code style." | |
| python -m ruff --fix . | |
| python -m ruff format . | |
| echo "Type checking the client library with pyright" | |
| python -m pyright gradio_client/*.py | |