lint/clean
This commit is contained in:
parent
aaba7cbcc6
commit
7668ef8f47
1 changed files with 2 additions and 5 deletions
|
@ -19,16 +19,13 @@ rwx_lint() {
|
|||
rwx_lint_clean() {
|
||||
local path="${1}"
|
||||
[ -n "${path}" ] || return 1
|
||||
rwx_log "" "py3clean"
|
||||
py3clean \
|
||||
--verbose \
|
||||
"${path}"
|
||||
rwx_log "" "clean" ""
|
||||
py3clean "${path}"
|
||||
set \
|
||||
"mypy" \
|
||||
"ruff"
|
||||
local tool
|
||||
for tool in "${@}"; do
|
||||
rwx_log "" "${tool}"
|
||||
rwx_remove "${path}/.${tool}_cache"
|
||||
done
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue