Standardize code styling
This commit is contained in:
parent
40494e8f63
commit
e23b767a72
@ -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
|
||||
|
@ -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
|
||||
|
@ -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 $?
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user