Skip to content

Commit

Permalink
blacken
Browse files Browse the repository at this point in the history
  • Loading branch information
bewing committed Jan 30, 2024
1 parent d3e4830 commit 4480115
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
5 changes: 0 additions & 5 deletions napalm_mos/mos.py
Original file line number Diff line number Diff line change
Expand Up @@ -524,7 +524,6 @@ def _transform_lldp_capab(self, capabilities):
)

def get_lldp_neighbors_detail(self, interface=""):

lldp_neighbors_out = {}

commands = ["show lldp neighbor {} verbose".format(interface)]
Expand All @@ -536,10 +535,8 @@ def get_lldp_neighbors_detail(self, interface=""):
interface_list = zip(*(iter(interfaces_split),) * 2)

for interface, interface_str in interface_list:

lldp_neighbors_out[interface] = []
for neighbor_str in interface_str.strip().split("\n\n"):

info_dict = {}

for info_line in neighbor_str.strip().splitlines():
Expand Down Expand Up @@ -616,7 +613,6 @@ def cli(self, commands, encoding="text"):
return cli_output

def get_arp_table(self, vrf=""):

if vrf:
raise NotImplementedError("Metamako MOS does not support multiple VRFs")

Expand Down Expand Up @@ -728,7 +724,6 @@ def get_snmp_information(self):

community_outputs = snmp_config[3]["output"].split("\n\n")
for community_output in community_outputs:

match = self._RE_SNMP_COMM.search(community_output)
if match:
matches = match.groupdict("")
Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""setup.py file."""

from setuptools import setup, find_packages

__author__ = "Benny Holmgren <[email protected]>"
Expand Down
1 change: 1 addition & 0 deletions test/unit/conftest.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Test fixtures."""

from builtins import super

import pytest
Expand Down

0 comments on commit 4480115

Please sign in to comment.