mirror of
https://github.com/gradio-app/gradio.git
synced 2024-11-27 01:40:20 +08:00
e0a55df7dc
* Add lint script + remove unused imports * Add lint file to sc
9 lines
285 B
Bash
Executable File
9 lines
285 B
Bash
Executable File
#!/bin/bash
|
|
|
|
cd "$(dirname ${0})/.."
|
|
|
|
echo "Formatting the backend... Our style follows the Black code style."
|
|
python -m black gradio test
|
|
python -m isort --profile=black gradio test
|
|
python -m flake8 --ignore=E731,E501,E722,W503,E126,E203,F403 gradio test --exclude gradio/__init__.py
|