From c534b79751e61c4eb7baae5b5687273a70da31fd Mon Sep 17 00:00:00 2001
From: Erik Reid <erik.reid@geant.org>
Date: Tue, 25 Dec 2018 12:18:16 +0100
Subject: [PATCH] pep8

---
 inventory_provider/juniper.py        | 6 +++---
 test/conftest.py                     | 1 -
 test/per_router/test_juniper_data.py | 1 -
 3 files changed, 3 insertions(+), 5 deletions(-)

diff --git a/inventory_provider/juniper.py b/inventory_provider/juniper.py
index ba5300b1..ff8672c4 100644
--- a/inventory_provider/juniper.py
+++ b/inventory_provider/juniper.py
@@ -15,7 +15,7 @@ CONFIG_SCHEMA = """<?xml version="1.1" encoding="UTF-8" ?>
     <xs:anyAttribute processContents="skip" />
   </xs:complexType>
 
-  <!-- NOTE: 'unit' content isn't validated -->  
+  <!-- NOTE: 'unit' content isn't validated -->
   <xs:complexType name="juniper-interface">
     <xs:sequence>
         <xs:choice minOccurs="1" maxOccurs="unbounded">
@@ -65,7 +65,7 @@ CONFIG_SCHEMA = """<?xml version="1.1" encoding="UTF-8" ?>
   </xs:element>
 
 </xs:schema>
-"""
+"""  # noqa: E501
 
 UNIT_SCHEMA = """<?xml version="1.1" encoding="UTF-8" ?>
 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
@@ -89,7 +89,7 @@ UNIT_SCHEMA = """<?xml version="1.1" encoding="UTF-8" ?>
   </xs:element>
 
 </xs:schema>
-"""
+"""  # noqa: E501
 
 
 def _rpc(hostname, ssh):
diff --git a/test/conftest.py b/test/conftest.py
index 6c7dad1c..1b8bf386 100644
--- a/test/conftest.py
+++ b/test/conftest.py
@@ -1,4 +1,3 @@
-import io
 import json
 import os
 import shutil
diff --git a/test/per_router/test_juniper_data.py b/test/per_router/test_juniper_data.py
index de50bfd4..6016fe93 100644
--- a/test/per_router/test_juniper_data.py
+++ b/test/per_router/test_juniper_data.py
@@ -90,4 +90,3 @@ def test_bgp_list(netconf_doc):
 
     routes = list(juniper.list_bgp_routes(netconf_doc))
     jsonschema.validate(routes, schema)
-
-- 
GitLab