brewman/lint.sh

16 lines
436 B
Bash
Raw Permalink Normal View History

#!/usr/bin/env bash
set -eEu -o pipefail
shopt -s extdebug
IFS=$'\n\t'
parent_path=$( cd "$(dirname "${BASH_SOURCE[0]}")" || exit ; pwd -P )
cd "$parent_path/overlord" || exit
npx prettier --write src/app
npx ng lint --fix
cd "$parent_path/brewman" || exit
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