This commit is contained in:
Marc Beninca 2025-01-31 23:28:06 +01:00
parent 007994bfea
commit 0d5d3aa5ba
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F
2 changed files with 9 additions and 0 deletions

6
sh/lint/pylint.sh Normal file
View file

@ -0,0 +1,6 @@
rwx_pylint() {
local path="${1}"
pylint \
--enable-all-extensions \
"${path}/**/*.py"
}

View file

@ -1,6 +1,9 @@
# lint python code
rwx_python_lint() {
local path="${1}"
# pylint
rwx_log "pylint"
rwx_pylint "${path}"
# check pydoc
rwx_log "pydoc"
rwx_pydoclint "${path}"