Skip to content

Commit 12df5b0

Browse files
committed
Fix linter
1 parent 93e4403 commit 12df5b0

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

nbclient/util.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ def check_ipython() -> None:
1515
if IPython:
1616
IPython_version = tuple(map(int, IPython.__version__.split('.'))) # type: ignore
1717
if IPython_version < (7, 0, 0):
18-
raise RuntimeError(f'You are using IPython {IPython.__version__} while we require' # type: ignore
19-
'7.0.0+, please update IPython')
18+
raise RuntimeError(f'You are using IPython {IPython.__version__} ' # type: ignore
19+
'while we require 7.0.0+, please update IPython')
2020

2121

2222
def check_patch_tornado() -> None:
@@ -25,7 +25,8 @@ def check_patch_tornado() -> None:
2525
if 'tornado' in sys.modules:
2626
import tornado.concurrent
2727
if asyncio.Future not in tornado.concurrent.FUTURES:
28-
tornado.concurrent.FUTURES = tornado.concurrent.FUTURES + (asyncio.Future, ) # type: ignore
28+
tornado.concurrent.FUTURES = \
29+
tornado.concurrent.FUTURES + (asyncio.Future, ) # type: ignore
2930

3031

3132
def just_run(coro: Awaitable) -> Any:

0 commit comments

Comments
 (0)