mirror of
https://github.com/thatmattlove/hyperglass.git
synced 2026-01-17 00:38:06 +00:00
24 lines
No EOL
351 B
Bash
Executable file
24 lines
No EOL
351 B
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
function make_badge () {
|
|
./manage.py line-count-badge
|
|
if [[ ! $? == 0 ]]; then
|
|
exit 1
|
|
fi
|
|
}
|
|
|
|
function isort_all () {
|
|
isort -y hyperglass/*.py
|
|
if [[ ! $? == 0 ]]; then
|
|
exit 1
|
|
fi
|
|
isort -y hyperglass/**/*.py
|
|
if [[ ! $? == 0 ]]; then
|
|
exit 1
|
|
fi
|
|
}
|
|
|
|
# make_badge
|
|
# isort_all
|
|
|
|
exit 0 |