From e1b43af078c4a5dd6b9b425084ba5f69fdaab0a8 2020-10-13 13:33:18 From: Matthias Bussonnier Date: 2020-10-13 13:33:18 Subject: [PATCH] autoreformat with darker --- diff --git a/IPython/utils/openpy.py b/IPython/utils/openpy.py index b5a6a39..aca2cf0 100644 --- a/IPython/utils/openpy.py +++ b/IPython/utils/openpy.py @@ -74,7 +74,7 @@ def read_py_file(filename, skip_encoding_cookie=True): A unicode string containing the contents of the file. """ filepath = Path(filename) - with open(filepath) as f: # the open function defined in this module. + with open(filepath) as f: # the open function defined in this module. if skip_encoding_cookie: return "".join(strip_encoding_cookie(f)) else: