diff --git a/txaws/_auth_v4.py b/txaws/_auth_v4.py
index <HASH>..<HASH> 100644
--- a/txaws/_auth_v4.py
+++ b/txaws/_auth_v4.py
@@ -1,13 +1,13 @@
 # Licenced under the txaws licence available at /LICENSE in the txaws source.
 """
-AWS authorization, version 4
+AWS authorization, version 4.
 """
-import attr
-
 import hashlib
 import hmac
-import urlparse
 import urllib
+import urlparse
+
+import attr
 
 
 # The following four functions are taken straight from
diff --git a/txaws/tests/test_auth_v4.py b/txaws/tests/test_auth_v4.py
index <HASH>..<HASH> 100644
--- a/txaws/tests/test_auth_v4.py
+++ b/txaws/tests/test_auth_v4.py
@@ -1,11 +1,12 @@
 # Licenced under the txaws licence available at /LICENSE in the txaws source.
 """
-Unit tests for AWS authorization, version 4
+Unit tests for AWS authorization, version 4.
 """
 
 import datetime
 import hashlib
 import hmac
+import urlparse
 
 from twisted.trial import unittest
 
@@ -29,8 +30,6 @@ from txaws.credentials import AWSCredentials
 
 from txaws.service import REGION_US_EAST_1
 
-import urlparse
-
 
 def _create_canonical_request_fixture():
     """
Clean up docstrings and imports