mirror of
https://github.com/gradio-app/gradio.git
synced 2025-02-05 11:10:03 +08:00
8a70e83db9
* migrate from black to ruff * fix script and dependencies * applying ruff * add changeset * add changeset * address ruff feedback * replace linter * fixed typing * fix typing --------- Co-authored-by: Abubakar Abid <abubakar@huggingface.co> Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
7 lines
146 B
Bash
7 lines
146 B
Bash
#!/bin/bash
|
|
|
|
cd "$(dirname ${0})/.."
|
|
python -c "import gradio"
|
|
python -m ruff gradio test client
|
|
python -m ruff format --check gradio test client
|