rwx/sh/lint/lint.sh

15 lines
212 B
Bash
Raw Normal View History

2025-01-31 17:31:24 +00:00
# lint python code
rwx_python_lint() {
local path="${1}"
2025-01-31 22:31:44 +00:00
local action
set \
"pylint" \
"pydoclint" \
"mypy" \
"ruff"
for action in "${@}"; do
rwx_log "${action}"
"rwx_${action}" "${path}"
done
2025-01-31 17:31:24 +00:00
}