2021-01-25 07:44:17 +00:00
|
|
|
#!/usr/bin/env bash
|
2022-05-09 18:26:51 +00:00
|
|
|
set -eEu -o pipefail
|
|
|
|
shopt -s extdebug
|
|
|
|
IFS=$'\n\t'
|
|
|
|
|
2021-01-25 07:44:17 +00:00
|
|
|
parent_path=$( cd "$(dirname "${BASH_SOURCE[0]}")" || exit ; pwd -P )
|
|
|
|
cd "$parent_path/overlord" || exit
|
2021-09-06 15:06:36 +00:00
|
|
|
npx prettier --write src/app
|
2021-01-25 07:44:17 +00:00
|
|
|
npx ng lint --fix
|
|
|
|
cd "$parent_path/brewman" || exit
|
2023-07-25 02:12:47 +00:00
|
|
|
|
2024-04-13 08:36:47 +00:00
|
|
|
ruff format .
|
2023-12-25 05:23:21 +00:00
|
|
|
ruff check . # Lint all files in the current directory (and any subdirectories)
|
|
|
|
bandit --recursive brewman
|
|
|
|
bandit --recursive .
|
|
|
|
safety check
|