lint python

This commit is contained in:
Marc Beninca 2025-01-31 18:31:24 +01:00
parent a5d8c67260
commit 5a89616f5c
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

10
sh/lint/python.sh Normal file
View file

@ -0,0 +1,10 @@
# lint python code
rwx_python_lint() {
local path="${1}"
# check pydoc
rwx_log "pydoc"
pydoclint "${path}"
# check typing
rwx_log "mypy"
mypy "${path}"
}