barker/lint.sh

10 lines
276 B
Bash
Raw Normal View History

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