14 lines
212 B
Bash
14 lines
212 B
Bash
# lint python code
|
|
rwx_python_lint() {
|
|
local path="${1}"
|
|
local action
|
|
set \
|
|
"pylint" \
|
|
"pydoclint" \
|
|
"mypy" \
|
|
"ruff"
|
|
for action in "${@}"; do
|
|
rwx_log "${action}"
|
|
"rwx_${action}" "${path}"
|
|
done
|
|
}
|