From 5fec429e39671a5c359e6fc17ab59ece4e139847 2022-02-25 10:27:37 From: Matthias Bussonnier Date: 2022-02-25 10:27:37 Subject: [PATCH] reformatting --- diff --git a/IPython/sphinxext/ipython_directive.py b/IPython/sphinxext/ipython_directive.py index 093fd7a..18bdfca 100644 --- a/IPython/sphinxext/ipython_directive.py +++ b/IPython/sphinxext/ipython_directive.py @@ -266,10 +266,13 @@ def block_parser(part, rgxin, rgxout, fmtin, fmtout): continue if any( - line_stripped.startswith('@' + pseudo_decorator) for pseudo_decorator in PSEUDO_DECORATORS - ): + line_stripped.startswith("@" + pseudo_decorator) + for pseudo_decorator in PSEUDO_DECORATORS + ): if decorator: - raise RuntimeError("Applying multiple pseudo-decorators on one line is not supported") + raise RuntimeError( + "Applying multiple pseudo-decorators on one line is not supported" + ) else: decorator = line_stripped continue