diff --git a/synapse/events/spamcheck.py b/synapse/events/spamcheck.py
index 7b22b3413a7ba3c339f93232ecba4d8083ff9d4d..a876bcb816538019e2964e9ad2433ae6f382aedb 100644
--- a/synapse/events/spamcheck.py
+++ b/synapse/events/spamcheck.py
@@ -13,6 +13,7 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
+
 class SpamChecker(object):
     def __init__(self, hs):
         self.spam_checker = None
diff --git a/synapse/util/module_loader.py b/synapse/util/module_loader.py
index 4b51d7a77bc6bfa5b59f7daf44350be8b2967e6d..4288312b8ad2a1217057f6f49e9bb32fce7e9acf 100644
--- a/synapse/util/module_loader.py
+++ b/synapse/util/module_loader.py
@@ -17,6 +17,7 @@ import importlib
 
 from synapse.config._base import ConfigError
 
+
 def load_module(provider):
     """ Loads a module with its config
     Take a dict with keys 'module' (the module name) and 'config'