Files
django-postfix-dovecot-api/bin/format
T
nikolark b12413ed67 ✨ Modernize bit bit
- bumps
- poetry
- linting
2022-08-07 15:44:40 +02:00

10 lines
194 B
Bash
Executable File

#!/bin/bash
SRC_DIR="dpdapi"
black $SRC_DIR
isort $SRC_DIR
pycln $SRC_DIR
pyupgrade --py38-plus $(find $SRC_DIR -name '*.py')
django-upgrade --target-version 3.2 $(find $SRC_DIR -name '*.py')