Skip to contentSkip to conversation

scanpypi: import third party modules after the standard ones

PATCH Superseded yegorslists at googlemail.com 2 participants 2 messages Dec 7, 2018 – Dec 9, 2018

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 scanpypi: import third party modules after the standard ones

From: Yegor Yefremov <[email protected]>

Move imports from six package after the standard modules. Resolves pylint warnings.

---
 utils/scanpypi | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
utils/scanpypi +3 -3
index 3d3e604435..9335bedee4 100755
@@ -10,9 +10,6 @@ from __future__ import print_function
 from __future__ import absolute_import
 import argparse
 import json
-import six.moves.urllib.request
-import six.moves.urllib.error
-import six.moves.urllib.parse
 import sys
 import os
 import shutil
@@ -25,6 +22,9 @@ import textwrap
 import tempfile
 import imp
 from functools import wraps
+import six.moves.urllib.request
+import six.moves.urllib.error
+import six.moves.urllib.parse
 from six.moves import map
 from six.moves import zip
 from six.moves import input
Signature · 1 line
2.17.0
#1 lore raw

PATCH 1/1 scanpypi: import third party modules after the standard ones

Hello Yegor,

Quoted 4 lines · yegorslists at googlemail.com

From: Yegor Yefremov <[email protected]>

Move imports from six package after the standard modules. Resolves pylint warnings.

Thanks, but your SoB is missing here :-/

Also, when resending, you can adjust the commit title prefix to utils/scanpypi.

Thanks!

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com