diff --git a/tsstats/config.py b/tsstats/config.py
index bbcb086..2954329 100644
--- a/tsstats/config.py
+++ b/tsstats/config.py
@@ -4,8 +4,8 @@ try:
 except ImportError:
     from ConfigParser import RawConfigParser
 
-import os
 import logging
+import os
 
 logger = logging.getLogger('tsstats')
 
diff --git a/tsstats/tests/test_cache.py b/tsstats/tests/test_cache.py
index 85f275c..c32e845 100644
--- a/tsstats/tests/test_cache.py
+++ b/tsstats/tests/test_cache.py
@@ -1,7 +1,5 @@
 # -*- coding: utf-8 -*-
 import os
-
-
 import shutil
 
 import pytest