check_all_code.sh 605 B

12345678910111213141516171819202122
  1. #!/bin/bash
  2. # Wrapper for devutils and utils formatter, linter, and tester
  3. set -eu
  4. _root_dir=$(dirname $(dirname $(readlink -f $0)))
  5. cd ${_root_dir}/devutils
  6. printf '###### utils yapf ######\n'
  7. ./run_utils_yapf.sh
  8. printf '###### utils pylint ######\n'
  9. ./run_utils_pylint.py || ./run_utils_pylint.py --hide-fixme
  10. printf '###### utils tests ######\n'
  11. ./run_utils_tests.sh
  12. printf '### devutils yapf ######\n'
  13. ./run_devutils_yapf.sh
  14. printf '###### devutils pylint ######\n'
  15. ./run_devutils_pylint.py || ./run_devutils_pylint.py --hide-fixme
  16. printf '###### devutils tests ######\n'
  17. ./run_devutils_tests.sh