barker/lint.sh

10 lines
240 B
Bash
Raw Permalink 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/
npx ng lint --fix
cd "$parent_path/barker" || exit
isort barker
black barker
flake8 barker