[tor-commits] [stem/master] Fix minor checkstyle issue

atagar at torproject.org atagar at torproject.org
Tue May 23 23:40:45 UTC 2017


commit d77615c2dc8e98089b727a2c32123fcc38a1f873
Author: Damian Johnson <atagar at torproject.org>
Date:   Tue May 23 14:01:40 2017 -0700

    Fix minor checkstyle issue
    
    Laptop and desktop have different checkstyle versions so this didn't come up
    when developing on the former...
    
    * /home/atagar/Desktop/stem/test/__init__.py
      line 23   - E402 module level import not at top of file | import itertools
      line 24   - E402 module level import not at top of file | import os
      line 26   - E402 module level import not at top of file | import stem.util.enum
      line 27   - E402 module level import not at top of file | import stem.version
---
 test/__init__.py | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/test/__init__.py b/test/__init__.py
index 355497c..8b5d576 100644
--- a/test/__init__.py
+++ b/test/__init__.py
@@ -13,6 +13,12 @@ Unit and integration tests for the stem library. Helpers include...
   tor_version - provides the version of tor we're testing against
 """
 
+import itertools
+import os
+
+import stem.util.enum
+import stem.version
+
 __all__ = [
   'network',
   'output',
@@ -20,12 +26,6 @@ __all__ = [
   'runner',
 ]
 
-import itertools
-import os
-
-import stem.util.enum
-import stem.version
-
 # Integration targets fall into two categories:
 #
 # * Run Targets (like RUN_COOKIE and RUN_PTRACE) which customize our torrc.





More information about the tor-commits mailing list