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
7 lines
238 B
Bash
7 lines
238 B
Bash
#!/bin/bash
|
|
|
|
cd "$(dirname ${0})/.."
|
|
|
|
python -m black --check gradio test
|
|
python -m isort --profile=black --check-only gradio test
|
|
python -m flake8 --ignore=E731,E501,E722,W503,E126,E203,F403,F541 gradio test --exclude gradio/__init__.py |