[PATCH 04/10] btt_plot.py: Fix pylint: wrong-import-order
Vincent Legoll <[email protected]>
| Newsgroups | org.kernel.vger.linux-btrace |
|---|---|
| Message-ID | <[email protected]> |
C0411: standard import "import getopt, glob, os, sys" should be placed before "import six" Signed-off-by: Vincent Legoll <[email protected]> --- btt/btt_plot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/btt/btt_plot.py b/btt/btt_plot.py index 9c6f207..b135206 100755 --- a/btt/btt_plot.py +++ b/btt/btt_plot.py @@ -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 <[email protected]>' @@ -65,7 +66,6 @@ __author__ = 'Alan D. Brunelle <[email protected]>' import matplotlib matplotlib.use('Agg') -import getopt, glob, os, sys import matplotlib.pyplot as plt plot_size = [10.9, 8.4] # inches... -- 2.20.1