diff --git a/sh/lint/lint.sh b/sh/lint/lint.sh index 6aa96b4..6cd7533 100644 --- a/sh/lint/lint.sh +++ b/sh/lint/lint.sh @@ -9,7 +9,7 @@ rwx_lint() { "shell" local code for code in "${@}"; do - rwx_log "${code}" + rwx_log "" "${code}" "rwx_lint_${code}" "${path}" done rwx_lint_clean "${path}" @@ -19,7 +19,7 @@ rwx_lint() { rwx_lint_clean() { local path="${1}" [ -n "${path}" ] || return 1 - rwx_log "py3clean" + rwx_log "" "py3clean" py3clean \ --verbose \ "${path}" @@ -28,7 +28,7 @@ rwx_lint_clean() { "ruff" local tool for tool in "${@}"; do - rwx_log "${tool}" + rwx_log "" "${tool}" rwx_remove "${path}/.${tool}_cache" done } @@ -43,7 +43,7 @@ rwx_lint_python() { "mypy" \ "ruff" for action in "${@}"; do - rwx_log "${action}" + rwx_log "" "${action}" "rwx_${action}" "${path}" done } @@ -56,7 +56,7 @@ rwx_lint_shell() { "shellcheck" \ "shfmt" for action in "${@}"; do - rwx_log "${action}" + rwx_log "" "${action}" "rwx_${action}" "${path}" done } @@ -70,7 +70,7 @@ rwx_lint_tasks() { "TODO" \ "FIXME" for type in "${@}"; do - rwx_log "${type}" + rwx_log "" "${type}" grep \ --after "1" \ --directories "recurse" \