Spaces:
Sleeping
Sleeping
File size: 521 Bytes
c96b98a | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 | #!/bin/bash
############################################################################
#
# This script formats the phidata codebase using ruff
# Usage:
# ./scripts/format.sh
#
############################################################################
CURR_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
REPO_ROOT="$( dirname ${CURR_DIR} )"
source ${CURR_DIR}/_utils.sh
main() {
print_heading "Formatting phidata"
print_heading "Running: ruff format ${REPO_ROOT}"
ruff format ${REPO_ROOT}
}
main "$@"
|