##// END OF EJS Templates
Run darker as instructed
satoru -
Show More
@@ -213,7 +213,9 b' class ExecutionInfo(object):'
213 213 raw_cell = (
214 214 (self.raw_cell[:50] + "..") if len(self.raw_cell) > 50 else self.raw_cell
215 215 )
216 return '<%s object at %x, raw_cell="%s" store_history=%s silent=%s shell_futures=%s cell_id=%s>' % (
216 return (
217 '<%s object at %x, raw_cell="%s" store_history=%s silent=%s shell_futures=%s cell_id=%s>'
218 % (
217 219 name,
218 220 id(self),
219 221 raw_cell,
@@ -222,6 +224,7 b' class ExecutionInfo(object):'
222 224 self.shell_futures,
223 225 self.cell_id,
224 226 )
227 )
225 228
226 229
227 230 class ExecutionResult(object):
1 NO CONTENT: modified file
@@ -85,11 +85,11 b' def get_py_filename(name):'
85 85 name = os.path.expanduser(name)
86 86 if os.path.isfile(name):
87 87 return name
88 if not name.endswith('.py'):
89 py_name = name + '.py'
88 if not name.endswith(".py"):
89 py_name = name + ".py"
90 90 if os.path.isfile(py_name):
91 91 return py_name
92 raise IOError('File `%r` not found.' % name)
92 raise IOError("File `%r` not found." % name)
93 93
94 94
95 95 def filefind(filename: str, path_dirs=None) -> str:
General Comments 0
You need to be logged in to leave comments. Login now