mirror of
https://github.com/gradio-app/gradio.git
synced 2024-12-21 02:19:59 +08:00
cbdfbdfc97
* upgrade ruff==0.4.1 * add changeset * add changeset --------- Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
9 lines
261 B
Bash
Executable File
9 lines
261 B
Bash
Executable File
#!/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 |