Skip to content

Commit 8b40f5d

Browse files
authored
[FRONTEND] Fix unnecessary pylint errors (#15838)
Handle unnecessary pylint errors from these frontends
1 parent 9d8e6fd commit 8b40f5d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/python/frontend/keras/test_forward.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,11 @@
2828
# prevent Keras from using up all gpu memory
2929
import keras
3030

31+
import pytest
3132
import tvm
3233
from tvm import relay
3334
from tvm.contrib import graph_executor
3435
import tvm.testing
35-
import pytest
3636

3737
if tf.executing_eagerly():
3838
GPUS = tf.config.experimental.list_physical_devices("GPU")

tests/python/frontend/oneflow/test_forward.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,11 @@
2020

2121
import numpy as np
2222
import oneflow as flow
23+
from packaging import version as package_version
2324
import tvm
2425
import tvm.testing
2526
import tvm.topi.testing
2627
from tvm import relay
27-
from packaging import version as package_version
2828

2929
MODEL_HOME = "test_model"
3030

0 commit comments

Comments
 (0)