brewman/lint.sh

14 lines
334 B
Bash
Raw Permalink Normal View History

#!/usr/bin/env bash
set -eEu -o pipefail
shopt -s extdebug
IFS=$'\n\t'
parent_path=$( cd "$(dirname "${BASH_SOURCE[0]}")" || exit ; pwd -P )
cd "$parent_path/overlord" || exit
npx prettier --write src/app
npx ng lint --fix
cd "$parent_path/brewman" || exit
poetry run isort brewman
poetry run black brewman
poetry run flake8 brewman