diff --git a/sh/lint/python.sh b/sh/lint/python.sh new file mode 100644 index 0000000..ab3a735 --- /dev/null +++ b/sh/lint/python.sh @@ -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}" +}