summaryrefslogblamecommitdiffstats
path: root/.bin/python-chad
blob: 3fc230e555007d06881f86de278ab6e6a5c0ceee (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15














                                              
#!/bin/sh

set -e

venv_path=$(poetry env info -p || true)

if [ "${?}" -eq 0 ]; then
	export PATH="${venv_path}/bin:${PATH}"
fi

set -x

isort "${1:-.}"
black "${1:-.}"
flake8 "${1:-.}"
remember that computers suck.