[tensorflow/tools/ci_build/ci_sanity.sh] Add "W9015" for missing-param-doc

This commit is contained in:
Samuel Marks 2020-12-18 14:43:21 +11:00
parent b70f04e6c8
commit 54b36b7fca
No known key found for this signature in database
GPG Key ID: 43FD8EDE42E1A799
2 changed files with 3 additions and 2 deletions

View File

@ -210,7 +210,8 @@ do_pylint() {
# C0326 bad-whitespace
# W0611 unused-import
# W0622 redefined-builtin
grep -E '(\[E|\[W0311|\[W0312|\[C0330|\[C0301|\[C0326|\[W0611|\[W0622)' ${OUTPUT_FILE} > ${ERRORS_FILE}
# W9015 missing-param-doc
grep -E '(\[E|\[W0311|\[W0312|\[C0330|\[C0301|\[C0326|\[W0611|\[W0622|\[W9015)' ${OUTPUT_FILE} > ${ERRORS_FILE}
N_ERRORS=0
while read -r LINE; do

View File

@ -1,7 +1,7 @@
[MASTER]
# Specify a configuration file.
#rcfile=
rcfile=tensorflow/tools/ci_build/pylintrc
# Python code to execute, usually for sys.path manipulation such as
# pygtk.require().