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() {
|
rwx_lint_clean() {
|
||||||
local path="${1}"
|
local path="${1}"
|
||||||
[ -n "${path}" ] || return 1
|
[ -n "${path}" ] || return 1
|
||||||
rwx_log "" "py3clean"
|
rwx_log "" "clean" ""
|
||||||
py3clean \
|
py3clean "${path}"
|
||||||
--verbose \
|
|
||||||
"${path}"
|
|
||||||
set \
|
set \
|
||||||
"mypy" \
|
"mypy" \
|
||||||
"ruff"
|
"ruff"
|
||||||
local tool
|
local tool
|
||||||
for tool in "${@}"; do
|
for tool in "${@}"; do
|
||||||
rwx_log "" "${tool}"
|
|
||||||
rwx_remove "${path}/.${tool}_cache"
|
rwx_remove "${path}/.${tool}_cache"
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue