Files
OpenLLM/tools/yapf

10 lines
177 B
Bash
Executable File

#!/usr/bin/env bash
# Check if yapf is installed, otherwise exit 1
[[ -x "$(command -v yapf)" ]] || (
echo "yapf not found"
exit 1
)
yapf -pdrm 2> /dev/null || exit 0