From 6db59626ad6c3a363b31674f806929357c9d030f Mon Sep 17 00:00:00 2001
From: Erik Reid <erik.reid@geant.org>
Date: Tue, 13 Nov 2018 12:47:00 +0100
Subject: [PATCH] pep8

---
 inventory_provider/data_routes.py |  2 +-
 test/test_data_routes.py          | 17 +++++++++++------
 2 files changed, 12 insertions(+), 7 deletions(-)

diff --git a/inventory_provider/data_routes.py b/inventory_provider/data_routes.py
index 01b6f12c..3c3238ed 100644
--- a/inventory_provider/data_routes.py
+++ b/inventory_provider/data_routes.py
@@ -2,7 +2,7 @@ import functools
 import json
 
 from flask import Blueprint, request, Response
-#render_template, url_for
+# render_template, url_for
 
 routes = Blueprint("python-utils-ui-routes", __name__)
 
diff --git a/test/test_data_routes.py b/test/test_data_routes.py
index 617e89e6..de7c0f80 100644
--- a/test/test_data_routes.py
+++ b/test/test_data_routes.py
@@ -1,5 +1,5 @@
 import json
-import logging
+# import logging
 import os
 import tempfile
 
@@ -35,7 +35,7 @@ v4Mask=.1.3.6.1.2.1.4.20.1.3
 ## IPv6
 v6AddressAndMask=.1.3.6.1.2.1.55.1.8.1.2
 v6InterfaceName=.1.3.6.1.2.1.55.1.5.1.2
-"""
+"""  # noqa E501
 
 ROUTERS_COMMUNITY_CONF = """
 ######################################################################################################################################
@@ -79,7 +79,8 @@ mx1.lon2.uk.geant.net=0pBiFbD,62.40.96.15
 mx1.ath2.gr.geant.net=0pBiFbD,62.40.96.39
 # qfx.par.fr.geant.net=0pBiFbD,62.40.117.170
 # qfx.fra.de.geant.net=0pBiFbD,62.40.117.162
-"""
+"""  # noqa E501
+
 
 def data_config_filename(tmp_dir_name):
     config = {
@@ -89,8 +90,12 @@ def data_config_filename(tmp_dir_name):
             "username": "xxxxxx",
             "password": "xxxxxxxx"
         },
-        "oid_list.conf": os.path.join(tmp_dir_name, "oid_list.conf"),
-        "routers_community.conf": os.path.join(tmp_dir_name, "routers_community.conf"),
+        "oid_list.conf": os.path.join(
+            tmp_dir_name,
+            "oid_list.conf"),
+        "routers_community.conf": os.path.join(
+            tmp_dir_name,
+            "routers_community.conf"),
         "ssh": {
             "private-key": "private-key-filename",
             "known-hosts": "known-hosts=filename"
@@ -144,7 +149,7 @@ def test_version_request(client):
             "module": {
                 "type": "string",
                 "pattern": r'\d+\.\d+'
-    }
+            }
         },
         "required": ["api", "module"],
         "additionalProperties": False
-- 
GitLab