luthor/lint.sh

10 lines
274 B
Bash
Raw Permalink 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
2022-04-17 08:14:56 +00:00
npx prettier --write src/app
2021-01-05 07:32:52 +00:00
npx ng lint --fix
cd "$parent_path/luthor" || exit
2022-04-17 08:14:56 +00:00
poetry run isort luthor
poetry run black luthor
poetry run flake8 luthor