barker/lint.sh

10 lines
243 B
Bash
Executable File

#!/usr/bin/env bash
parent_path=$( cd "$(dirname "${BASH_SOURCE[0]}")" || exit ; pwd -P )
cd "$parent_path/bookie" || exit
npx prettier --write src/app
npx ng lint --fix
cd "$parent_path/barker" || exit
isort barker
black barker
flake8 barker