barker/lint.sh

10 lines
276 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
poetry run isort barker
poetry run black barker
poetry run flake8 barker