Add an initial stab at docstrings - enable docstring pylinter

This commit is contained in:
Pim van Pelt
2022-04-24 10:36:25 +00:00
parent 544f343da7
commit 5af27211f3
25 changed files with 304 additions and 17 deletions

3
vppcfg
View File

@ -30,6 +30,7 @@ except ImportError:
def main():
""" The main vppcfg program """
parser = argparse.ArgumentParser(formatter_class=argparse.RawTextHelpFormatter)
parser.add_argument(
"-d",
@ -175,7 +176,7 @@ def main():
sys.exit(0)
reconciler = Reconciler(cfg)
if not reconciler.vpp_readconfig():
if not reconciler.vpp.readconfig():
sys.exit(-3)
if not reconciler.phys_exist_in_vpp():