Standardize code styling

This commit is contained in:
Devon Mackay 2018-07-10 10:10:38 -04:00
parent 40494e8f63
commit e23b767a72
3 changed files with 4 additions and 3 deletions

View File

@ -1,4 +1,4 @@
# include/run_bootstrap: Install application dependencies
# run_bootstrap: Install application dependencies
# Load bootstrap functions
source ./script/include/bootstrap_functions.inc.sh
@ -10,7 +10,6 @@ if [ -z "${PIPENV_INSTALL_FLAGS+is_set}" ]; then
fi
## Main
if [ "${INSTALL_PYTHON_PACKAGES}" = "true" ]; then
install_python_packages "${PIPENV_INSTALL_FLAGS}"
fi

View File

@ -1,4 +1,4 @@
# include/run_test: Execute code checkers and unit tests
# run_test: Execute code checkers and unit tests
# Load test functions
source ./script/include/test_functions.inc.sh

View File

@ -2,12 +2,14 @@
run_python_lint() {
local python_files="${1}"
run_command "pylint ${python_files}"
return $?
}
run_python_static_analysis() {
local python_files="${1}"
run_command "bandit -c ./.bandit_config -r ${python_files}"
return $?
}