Skip to content

Commit

Permalink
Fix flake8 issues in sith.py
Browse files Browse the repository at this point in the history
  • Loading branch information
davidhalter committed Dec 12, 2020
1 parent fd435a7 commit fe60b5c
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions sith.py
Original file line number Diff line number Diff line change
Expand Up @@ -176,9 +176,9 @@ def show_definitions(self):
def show_errors(self):
sys.stderr.write(self.traceback)
print(("Error with running Script(...).{operation}() with\n"
"\tpath: {path}\n"
"\tline: {line}\n"
"\tcolumn: {column}").format(**self.__dict__))
"\tpath: {path}\n"
"\tline: {line}\n"
"\tcolumn: {column}").format(**self.__dict__))


def main(arguments):
Expand All @@ -198,10 +198,10 @@ def main(arguments):
else:
t.run(debugger)
elif arguments['run']:
TestCase(
arguments['<operation>'], arguments['<path>'],
int(arguments['<line>']), int(arguments['<column>'])
).run(debugger, print_result=True)
TestCase(
arguments['<operation>'], arguments['<path>'],
int(arguments['<line>']), int(arguments['<column>'])
).run(debugger, print_result=True)
else:
for _ in range(int(arguments['--maxtries'])):
t = TestCase.generate(arguments['<path>'] or '.')
Expand Down

0 comments on commit fe60b5c

Please sign in to comment.