lint/py3clean
This commit is contained in:
parent
bec792d29a
commit
7cea09aedc
1 changed files with 5 additions and 1 deletions
|
@ -15,10 +15,14 @@ rwx_lint() {
|
||||||
rwx_lint_clean() {
|
rwx_lint_clean() {
|
||||||
local path="${1}"
|
local path="${1}"
|
||||||
[ -n "${path}" ] || exit 1
|
[ -n "${path}" ] || exit 1
|
||||||
local tool
|
rwx_log "py3clean"
|
||||||
|
py3clean \
|
||||||
|
--verbose \
|
||||||
|
"${path}"
|
||||||
set \
|
set \
|
||||||
"mypy" \
|
"mypy" \
|
||||||
"ruff"
|
"ruff"
|
||||||
|
local tool
|
||||||
for tool in "${@}"; do
|
for tool in "${@}"; do
|
||||||
rwx_log "${tool}"
|
rwx_log "${tool}"
|
||||||
rwx_remove "${path}/.${tool}_cache"
|
rwx_remove "${path}/.${tool}_cache"
|
||||||
|
|
Loading…
Reference in a new issue