yolox / .github /workflows /format_check.sh
Feng Wang
fix(plugins): update workflow and fix bug of kwargs in nano (#844)
665328e
raw
history blame contribute delete
313 Bytes
#!/bin/bash -e
set -e
export PYTHONPATH=$PWD:$PYTHONPATH
flake8 yolox exps tools || flake8_ret=$?
if [ "$flake8_ret" ]; then
exit $flake8_ret
fi
echo "All flake check passed!"
isort --check-only -rc yolox exps || isort_ret=$?
if [ "$isort_ret" ]; then
exit $isort_ret
fi
echo "All isort check passed!"