erplibre/script/maintenance/black.sh

6 lines
149 B
Bash
Raw Normal View History

#!/usr/bin/env bash
# This will format all python file
# argument 1: directory or file to format
source ./.venv/bin/activate
black -l 100 -t py37 $@