Merge pull request #6 from codingo/codingo-production-polish

PEP8 fixes
This commit is contained in:
Michael Skelton
2019-01-06 12:31:11 +10:00
committed by GitHub

View File

@@ -56,6 +56,7 @@ class InputHelper(object):
return commands
class InputParser(object):
def __init__(self):
self._parser = self.setup_parser()
@@ -96,7 +97,6 @@ class InputParser(object):
type=lambda x: InputHelper.check_positive(parser, x)
)
commands = parser.add_mutually_exclusive_group(required=True)
commands.add_argument(
'-c', dest='command',
@@ -110,7 +110,6 @@ class InputParser(object):
type=lambda x: InputHelper.readable_file(parser, x)
)
parser.add_argument(
'--no-cidr', dest='nocidr', action='store_true', default=False,
help='If set then CIDR notation in a target file will not be automatically '