Skip to content

Commit cbede92

Browse files
committed
lint
Signed-off-by: xadupre <[email protected]>
1 parent 4e6eace commit cbede92

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/run_pretrained_models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -474,7 +474,7 @@ def run_tflite():
474474
for k in input_names:
475475
v = self.input_names[k]
476476
inputs[to_rename.get(k, k)] = tf.constant(self.make_input(v))
477-
tf_func = tf.function(concrete_func)
477+
tf_func = tf.function(self.concrete_function)
478478
logger.info("Running TF")
479479
tf_results_d = tf_func(**inputs)
480480
# If there is only a single output a dict might not be returned

tools/pylintrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ enable=indexing-exception,old-raise-syntax
3939
# --enable=similarities". If you want to run only the classes checker, but have
4040
# no Warning level messages displayed, use"--disable=all --enable=classes
4141
# --disable=W"
42-
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,useless-object-inheritance,consider-using-f-string,unspecified-encoding,unnecessary-lambda-assignment,use-dict-literal,consider-using-with,wrong-import-order,consider-iterating-dictionary,use-maxsplit-arg,possibly-used-before-assignment,super-with-arguments,redundant-u-string-prefix,use-list-literal,f-string-without-interpolation
42+
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,useless-object-inheritance,consider-using-f-string,unspecified-encoding,unnecessary-lambda-assignment,use-dict-literal,consider-using-with,wrong-import-order,consider-iterating-dictionary,use-maxsplit-arg,possibly-used-before-assignment,super-with-arguments,redundant-u-string-prefix,use-list-literal,f-string-without-interpolation,condition-evals-to-constant,global-variable-not-assigned,consider-using-enumerate,unused-argument,superfluous-parens,use-sequence-for-iteration,useless-return,superfluous-parens,use-a-generator,raise-missing-from,overgeneral-exceptions,condition-evals-to-constant
4343

4444

4545
# Set the cache size for astng objects.

0 commit comments

Comments
 (0)