From 1deaa84fed932bd7da2e05721b01ed2a8ec01f54 2020-10-01 10:02:54 From: Ashwin Vishnu <9155111+ashwinvis@users.noreply.github.com> Date: 2020-10-01 10:02:54 Subject: [PATCH] Run darker --- diff --git a/IPython/core/interactiveshell.py b/IPython/core/interactiveshell.py index f86ebd7..7753dc0 100644 --- a/IPython/core/interactiveshell.py +++ b/IPython/core/interactiveshell.py @@ -2788,7 +2788,7 @@ class InteractiveShell(SingletonConfigurable): def get_cells(): """generator for sequence of code blocks to run""" - if fname.suffix == '.ipynb': + if fname.suffix == ".ipynb": from nbformat import read nb = read(fname, as_version=4) if not nb.cells: