This is an automated email from the ASF dual-hosted git repository.

areusch pushed a commit to branch areusch/freeze-dependencies
in repository https://gitbox.apache.org/repos/asf/tvm.git

commit 9844b6839fb9841c8af44e046cd932a0f97cd625
Author: Andrew Reusch <[email protected]>
AuthorDate: Thu Jun 2 17:44:10 2022 -0700

    fix pylint because i'm not sure why it's different
---
 python/tvm/testing/utils.py     | 4 ++--
 python/tvm/topi/adreno/utils.py | 3 ++-
 python/tvm/topi/x86/concat.py   | 2 +-
 tests/lint/pylintrc             | 2 +-
 4 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/python/tvm/testing/utils.py b/python/tvm/testing/utils.py
index 0e2d7be4a1..81c17f02e8 100644
--- a/python/tvm/testing/utils.py
+++ b/python/tvm/testing/utils.py
@@ -69,13 +69,13 @@ import ctypes
 import functools
 import logging
 import os
+import pickle
 import platform
 import shutil
 import sys
 import time
-import pickle
-import pytest
 import numpy as np
+import pytest
 import tvm
 import tvm.arith
 import tvm.tir
diff --git a/python/tvm/topi/adreno/utils.py b/python/tvm/topi/adreno/utils.py
index 727741c11f..9958c301bc 100644
--- a/python/tvm/topi/adreno/utils.py
+++ b/python/tvm/topi/adreno/utils.py
@@ -17,8 +17,9 @@
 # pylint: disable=invalid-name,unused-variable,unused-argument,no-else-return
 """util functions to be reused in different compute/schedule on Qualcomm 
Adreno GPU"""
 
-import tvm
 import numpy
+
+import tvm
 from tvm import te
 from tvm.topi.utils import simplify
 from tvm.topi import nn
diff --git a/python/tvm/topi/x86/concat.py b/python/tvm/topi/x86/concat.py
index 5cb3cd3f57..d59041e41a 100644
--- a/python/tvm/topi/x86/concat.py
+++ b/python/tvm/topi/x86/concat.py
@@ -16,9 +16,9 @@
 # under the License.
 "concatenate related operators"
 from typing import Optional
+import numpy as np
 import tvm
 from tvm import te
-import numpy as np
 from ..utils import get_const_int, const_vector
 
 
diff --git a/tests/lint/pylintrc b/tests/lint/pylintrc
index bf9539cb0b..83e4c2c2cc 100644
--- a/tests/lint/pylintrc
+++ b/tests/lint/pylintrc
@@ -82,7 +82,7 @@ enable=indexing-exception,old-raise-syntax
 # --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,protected-access,useless-object-inheritance,consider-using-get,bad-continuation,too-many-lines
+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,protected-access,useless-object-inheritance,consider-using-get,bad-continuation,too-many-lines,comparison-with-callable
 
 [REPORTS]
 

Reply via email to