andreped/AeroPath
11
1#!/bin/bash2isort --check --sl -c demo/src/ demo/app.py3if ! [ $? -eq 0 ]4then5 echo "Please run \"sh shell/format.sh\" to format the code."6 exit 17fi8echo "no issues with isort"9flake8 demo/src/ demo/app.py10if ! [ $? -eq 0 ]11then12 echo "Please fix the code style issue."13 exit 114fi15echo "no issues with flake8"16black --check --line-length 80 demo/src/ demo/app.py17if ! [ $? -eq 0 ]18then19 echo "Please run \"sh shell/format.sh\" to format the code."20 exit 121fi22echo "no issues with black"23echo "linting success!"24 