luthor/lint.sh

10 lines
238 B
Bash
Raw Normal View History

2021-01-05 07:32:52 +00:00
#!/usr/bin/env bash
parent_path=$( cd "$(dirname "${BASH_SOURCE[0]}")" || exit ; pwd -P )
cd "$parent_path/otis" || exit
npx prettier --write src/
npx ng lint --fix
cd "$parent_path/luthor" || exit
isort luthor
black luthor
flake8 luthor