btt_plot.py: Fix pylint: wrong-import-order
authorVincent Legoll <vincent.legoll@gmail.com>
Fri, 20 Mar 2020 21:44:53 +0000 (22:44 +0100)
committerJens Axboe <axboe@kernel.dk>
Fri, 20 Mar 2020 21:53:50 +0000 (15:53 -0600)
C0411: standard import "import getopt, glob, os, sys" should be placed
before "import six"

Signed-off-by: Vincent Legoll <vincent.legoll@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
btt/btt_plot.py

index 9c6f207318559dc41b665f11984cfc93b2adc86e..b135206528b3e67bf3c50e210eaaf8317d7b750b 100755 (executable)
@@ -57,6 +57,7 @@ Arguments:
 
 from __future__ import absolute_import
 from __future__ import print_function
+import getopt, glob, os, sys
 import six
 from six.moves import range
 __author__ = 'Alan D. Brunelle <alan.brunelle@hp.com>'
@@ -65,7 +66,6 @@ __author__ = 'Alan D. Brunelle <alan.brunelle@hp.com>'
 
 import matplotlib
 matplotlib.use('Agg')
-import getopt, glob, os, sys
 import matplotlib.pyplot as plt
 
 plot_size      = [10.9, 8.4]   # inches...