1
0
mirror of https://github.com/checktheroads/hyperglass synced 2024-05-11 05:55:08 +00:00

24 lines
356 B
Bash
Raw Permalink Normal View History

#!/usr/bin/env bash
2019-12-31 12:37:11 -07:00
function isort_all () {
isort -y hyperglass/*.py
if [[ ! $? == 0 ]]; then
exit 1
fi
isort -y hyperglass/**/*.py
if [[ ! $? == 0 ]]; then
exit 1
fi
}
2020-02-16 19:16:01 -07:00
function validate_examples () {
2020-03-21 15:00:37 -07:00
python3 ./validate_examples.py
2020-02-16 19:22:48 -07:00
if [[ ! $? == 0 ]]; then
2020-02-16 19:16:01 -07:00
exit 1
fi
}
2019-12-31 12:37:11 -07:00
# isort_all
2020-02-16 19:22:48 -07:00
validate_examples
exit 0