Skip to content

Commit 593edeb

Browse files
committed
fix for newest version of ipython
1 parent 409e762 commit 593edeb

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

core/superduperreload/magics.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ def aimport(self, parameter_s="", stream=None):
253253
# Inject module to user namespace
254254
self.shell.push({top_name: top_module})
255255

256-
def pre_run_cell(self):
256+
def pre_run_cell(self, *_, **__):
257257
if not self._reloader.enabled:
258258
return
259259
with self._reloader._reloading_lock:
@@ -262,7 +262,7 @@ def pre_run_cell(self):
262262
except: # noqa
263263
pass
264264

265-
def post_execute_hook(self):
265+
def post_execute_hook(self, *_, **__):
266266
"""Cache the modification times of any modules imported in this execution"""
267267
newly_loaded_modules = set(sys.modules) - self.loaded_modules
268268
for modname in newly_loaded_modules:

requirements.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
superduperreload-core==0.0.3
22
ipykernel
33
ipyflow-core
4-
ipython<=8.16.1
4+
ipython

0 commit comments

Comments
 (0)