[go: nahoru, domu]

Skip to content

Commit

Permalink
Disable a bunch of pylint checks to fix ci_sanity
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 376903937
Change-Id: I30d8a7a4f4313ab9abac4e5cd9129ba6952b7a92
  • Loading branch information
angerson authored and tensorflower-gardener committed Jun 1, 2021
1 parent af64b3a commit f9d4451
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tensorflow/tools/ci_build/pylintrc
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ accept-no-param-doc=no
# --enable=similarities". If you want to run only the classes checker, but have
# no Warning level messages displayed, use"--disable=all --enable=classes
# --disable=W"
disable=design,similarities,no-self-use,attribute-defined-outside-init,locally-disabled,star-args,pointless-except,bad-option-value,global-statement,fixme,suppressed-message,useless-suppression,locally-enabled,no-member,no-name-in-module,import-error,unsubscriptable-object,unbalanced-tuple-unpacking,undefined-variable,not-context-manager,invalid-sequence-index,W,R,C,I
disable=design,similarities,no-self-use,attribute-defined-outside-init,locally-disabled,star-args,pointless-except,bad-option-value,global-statement,fixme,suppressed-message,useless-suppression,locally-enabled,no-member,no-name-in-module,import-error,unsubscriptable-object,unbalanced-tuple-unpacking,undefined-variable,not-context-manager,invalid-sequence-index,unexpected-keyword-arg,invalid-unary-operand-type,raising-bad-type,no-value-for-parameter,invalid-bool-returned,W,R,C,I

# Enable the message, report, category or checker with the given id(s). You can
# either give multiple identifier separated by comma (,) or put this option
Expand All @@ -45,7 +45,7 @@ disable=design,similarities,no-self-use,attribute-defined-outside-init,locally-d
# C0326 bad-whitespace
# W0611 unused-import
# W0622 redefined-builtin
enable=indexing-exception,old-raise-syntax,W0311,W0312,C0330,C0301,C0326,W0611,W0622
enable=old-raise-syntax,W0311,W0312,C0330,C0301,C0326,W0611,W0622

# Set the cache size for astng objects.
cache-size=500
Expand Down

0 comments on commit f9d4451

Please sign in to comment.