pylint
This commit is contained in:
parent
007994bfea
commit
0d5d3aa5ba
2 changed files with 9 additions and 0 deletions
6
sh/lint/pylint.sh
Normal file
6
sh/lint/pylint.sh
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
rwx_pylint() {
|
||||||
|
local path="${1}"
|
||||||
|
pylint \
|
||||||
|
--enable-all-extensions \
|
||||||
|
"${path}/**/*.py"
|
||||||
|
}
|
|
@ -1,6 +1,9 @@
|
||||||
# lint python code
|
# lint python code
|
||||||
rwx_python_lint() {
|
rwx_python_lint() {
|
||||||
local path="${1}"
|
local path="${1}"
|
||||||
|
# pylint
|
||||||
|
rwx_log "pylint"
|
||||||
|
rwx_pylint "${path}"
|
||||||
# check pydoc
|
# check pydoc
|
||||||
rwx_log "pydoc"
|
rwx_log "pydoc"
|
||||||
rwx_pydoclint "${path}"
|
rwx_pydoclint "${path}"
|
||||||
|
|
Loading…
Reference in a new issue