barker/lint.sh
Amritanshu 010e9a84db Chore: Upgrade to Angular v18
Chore: Upgrade to Python 3.12
Chore: Upgrade to psycopg3
2024-06-03 13:22:56 +05:30

17 lines
434 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/bookie" || exit
npx prettier --write src/app
npx ng lint --fix
cd "$parent_path/barker" || exit
ruff format .
ruff check . # Lint all files in the current directory (and any subdirectories)
bandit --recursive brewman
bandit --recursive .
safety check