diff --git a/python/eigenpy/__init__.py b/python/eigenpy/__init__.py
index 7fdeef13b8220a43791f4d638c7100a89ab850b1..f143e13a6e57ecf4f0b95545993fdb95e0f7e529 100644
--- a/python/eigenpy/__init__.py
+++ b/python/eigenpy/__init__.py
@@ -14,12 +14,12 @@
 # More resources on https://github.com/diffpy/pyobjcryst/issues/33
 try:
     from .eigenpy_pywrap import *  # noqa
-    from .eigenpy_pywrap import __raw_version__, __version__  # noqa
+    from .eigenpy_pywrap import __raw_version__, __version__
 except ImportError:
     import platform
 
     if platform.system() == "Windows":
-        from .windows_dll_manager import get_dll_paths, build_directory_manager
+        from .windows_dll_manager import build_directory_manager, get_dll_paths
 
         with build_directory_manager() as dll_dir_manager:
             for p in get_dll_paths():
diff --git a/python/eigenpy/windows_dll_manager.py b/python/eigenpy/windows_dll_manager.py
index 5f6482c06fccad5adc2723c04c3ed3a13417f23c..d1cc0950b8cefe8f8a8579b3cfca4c54c2c235aa 100644
--- a/python/eigenpy/windows_dll_manager.py
+++ b/python/eigenpy/windows_dll_manager.py
@@ -1,6 +1,6 @@
+import contextlib
 import os
 import sys
-import contextlib
 
 
 def get_dll_paths():