lint/return
This commit is contained in:
parent
486b7cea1d
commit
5a88d127d6
1 changed files with 2 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
||||||
# lint code
|
# lint code
|
||||||
rwx_lint() {
|
rwx_lint() {
|
||||||
local path="${1}"
|
local path="${1}"
|
||||||
[ -n "${path}" ] || exit 1
|
[ -n "${path}" ] || return 1
|
||||||
rwx_lint_clean
|
rwx_lint_clean
|
||||||
set \
|
set \
|
||||||
"python" \
|
"python" \
|
||||||
|
@ -17,7 +17,7 @@ rwx_lint() {
|
||||||
# clean
|
# clean
|
||||||
rwx_lint_clean() {
|
rwx_lint_clean() {
|
||||||
local path="${1}"
|
local path="${1}"
|
||||||
[ -n "${path}" ] || exit 1
|
[ -n "${path}" ] || return 1
|
||||||
rwx_log "py3clean"
|
rwx_log "py3clean"
|
||||||
py3clean \
|
py3clean \
|
||||||
--verbose \
|
--verbose \
|
||||||
|
|
Loading…
Reference in a new issue