gradio/scripts/lint_backend.sh
Yuichiro Tachibana (Tsuchiya) 0cf93e50b8
Make shell scripts executable and fix their shebangs (#6901)
* Add executable permission to scripts/*.sh

* Set -eu to the shebang in /scripts/*.sh

* Fix client/python/scripts/*.sh
2023-12-29 08:21:51 -08:00

7 lines
150 B
Bash
Executable File

#!/bin/bash -eu
cd "$(dirname ${0})/.."
python -c "import gradio"
python -m ruff gradio test client
python -m ruff format --check gradio test client