keras/shell/format.sh

12 lines
200 B
Bash
Executable File

#!/bin/bash
set -Eeuo pipefail
base_dir=$(dirname $(dirname $0))
isort --sp "${base_dir}/pyproject.toml" .
black --config "${base_dir}/pyproject.toml" .
flake8 --config "${base_dir}/setup.cfg" .