lint/clean
This commit is contained in:
parent
7cea09aedc
commit
486b7cea1d
1 changed files with 4 additions and 1 deletions
|
@ -1,14 +1,17 @@
|
|||
# lint code
|
||||
rwx_lint() {
|
||||
local path="${1}"
|
||||
local code
|
||||
[ -n "${path}" ] || exit 1
|
||||
rwx_lint_clean
|
||||
set \
|
||||
"python" \
|
||||
"shell"
|
||||
local code
|
||||
for code in "${@}"; do
|
||||
rwx_log "${code}"
|
||||
"rwx_lint_${code}" "${path}"
|
||||
done
|
||||
rwx_lint_clean
|
||||
}
|
||||
|
||||
# clean
|
||||
|
|
Loading…
Reference in a new issue