forked from VimPlug/jedi
Sith PEP8
This commit is contained in:
4
sith.py
4
sith.py
@@ -181,6 +181,7 @@ class TestCase(object):
|
|||||||
"\tline: {line}\n"
|
"\tline: {line}\n"
|
||||||
"\tcolumn: {column}").format(**self.__dict__))
|
"\tcolumn: {column}").format(**self.__dict__))
|
||||||
|
|
||||||
|
|
||||||
def main(arguments):
|
def main(arguments):
|
||||||
debugger = 'pdb' if arguments['--pdb'] else \
|
debugger = 'pdb' if arguments['--pdb'] else \
|
||||||
'ipdb' if arguments['--ipdb'] else \
|
'ipdb' if arguments['--ipdb'] else \
|
||||||
@@ -198,7 +199,8 @@ def main(arguments):
|
|||||||
else:
|
else:
|
||||||
t.run(debugger)
|
t.run(debugger)
|
||||||
elif arguments['run']:
|
elif arguments['run']:
|
||||||
TestCase(arguments['<operation>'], arguments['<path>'],
|
TestCase(
|
||||||
|
arguments['<operation>'], arguments['<path>'],
|
||||||
int(arguments['<line>']), int(arguments['<column>'])
|
int(arguments['<line>']), int(arguments['<column>'])
|
||||||
).run(debugger, print_result=True)
|
).run(debugger, print_result=True)
|
||||||
else:
|
else:
|
||||||
|
|||||||
Reference in New Issue
Block a user