lint
This commit is contained in:
parent
9d45c0285c
commit
be49eab2f4
1 changed files with 13 additions and 0 deletions
|
@ -1,3 +1,16 @@
|
|||
# lint code
|
||||
rwx_lint() {
|
||||
local path="${1}"
|
||||
local code
|
||||
set \
|
||||
"python" \
|
||||
"shell"
|
||||
for code in "${@}"; do
|
||||
rwx_log "${code}"
|
||||
"rwx_lint_${code}" "${path}"
|
||||
done
|
||||
}
|
||||
|
||||
# lint python code
|
||||
rwx_lint_python() {
|
||||
local path="${1}"
|
||||
|
|
Loading…
Reference in a new issue