3# Check Python code formatting
4echo "Checking Python code formatting..."
5if ! black --check zia_benchmark/src/zia_benchmark; then
6 echo "Python code is not properly formatted!"
7 echo "Please run './devel/format_code.sh' to format the code"
8 exit 1
9fi
11# Check TypeScript/JavaScript code formatting
12echo "Checking TypeScript/JavaScript code formatting..."
13cd web-ui
14if ! npm run format:check; then
15 echo "TypeScript/JavaScript code is not properly formatted!"
16 echo "Please run './devel/format_code.sh' to format the code"
17 exit 1
18fi
20echo "All code is properly formatted!"
21exit 0