gradio/scripts/format_backend.sh

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

10 lines
237 B
Bash
Raw Normal View History

#!/bin/bash
cd "$(dirname ${0})/.."
echo "Formatting the backend... Our style follows the Black code style."
ruff --fix gradio test
black gradio test
bash client/python/scripts/format.sh # Call the client library's formatting script