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

lukhut pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tvm.git


The following commit(s) were added to refs/heads/main by this push:
     new 5012208e4b [LINT] Fix pylint issues in test_dma_builtin.py (#16468)
5012208e4b is described below

commit 5012208e4b54026a21eed7a3308e0c0fae1010a7
Author: Elen Kalda <elen.ka...@arm.com>
AuthorDate: Thu Jan 25 17:39:52 2024 +0000

    [LINT] Fix pylint issues in test_dma_builtin.py (#16468)
    
    We see `no-self-argument` and `wrong-import-order` pylint errors in 
downstream
    CI. Eyeballing the file, both of these errors are legit, it's not clear
    why the upstream CI didn't catch them, potentially because of the inherent
    instability of pylint running on multiple threads.
---
 tests/python/contrib/test_hexagon/test_dma_builtin.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/python/contrib/test_hexagon/test_dma_builtin.py 
b/tests/python/contrib/test_hexagon/test_dma_builtin.py
index 74f25acaba..11f4d2d540 100644
--- a/tests/python/contrib/test_hexagon/test_dma_builtin.py
+++ b/tests/python/contrib/test_hexagon/test_dma_builtin.py
@@ -19,6 +19,7 @@
 Test relax vm builtin to enable DMA copy and wait operations.
 """
 
+import numpy as np
 import tvm
 import tvm.script
 from tvm import relax
@@ -27,9 +28,8 @@ from tvm.script.parser import relax as R
 from tvm.script.parser import tir as T
 import tvm.contrib.hexagon
 import tvm.testing
-import numpy as np
 
-# pylint: disable=invalid-name, missing-class-docstring, 
missing-function-docstring
+# pylint: disable=invalid-name, missing-class-docstring, 
missing-function-docstring, no-self-argument
 
 
 @I.ir_module

Reply via email to