mirror of
https://github.com/codingo/Interlace.git
synced 2025-12-17 23:04:24 +01:00
PEP8 fixes
This commit is contained in:
Binary file not shown.
@@ -56,6 +56,7 @@ class InputHelper(object):
|
|||||||
|
|
||||||
return commands
|
return commands
|
||||||
|
|
||||||
|
|
||||||
class InputParser(object):
|
class InputParser(object):
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
self._parser = self.setup_parser()
|
self._parser = self.setup_parser()
|
||||||
@@ -96,7 +97,6 @@ class InputParser(object):
|
|||||||
type=lambda x: InputHelper.check_positive(parser, x)
|
type=lambda x: InputHelper.check_positive(parser, x)
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
commands = parser.add_mutually_exclusive_group(required=True)
|
commands = parser.add_mutually_exclusive_group(required=True)
|
||||||
commands.add_argument(
|
commands.add_argument(
|
||||||
'-c', dest='command',
|
'-c', dest='command',
|
||||||
@@ -110,7 +110,6 @@ class InputParser(object):
|
|||||||
type=lambda x: InputHelper.readable_file(parser, x)
|
type=lambda x: InputHelper.readable_file(parser, x)
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
parser.add_argument(
|
parser.add_argument(
|
||||||
'--no-cidr', dest='nocidr', action='store_true', default=False,
|
'--no-cidr', dest='nocidr', action='store_true', default=False,
|
||||||
help='If set then CIDR notation in a target file will not be automatically '
|
help='If set then CIDR notation in a target file will not be automatically '
|
||||||
|
|||||||
Reference in New Issue
Block a user