brewman/lint.sh
Amritanshu 166af2aaa3 Fix: Rebase
Chore: Moved to ruff and sorted and cleaned using it.
Chore: Ansible file moved to roles based.
Chore: Upgraded some dependencies
2024-04-13 14:25:53 +05:30

16 lines
436 B
Bash
Executable File

#!/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 .
ruff check . # Lint all files in the current directory (and any subdirectories)
bandit --recursive brewman
bandit --recursive .
safety check