From b556baa1226d0ab5879c5bccfe41801a02b57acd Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Tue, 27 Sep 2022 10:44:53 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- jupyter_core/paths.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/jupyter_core/paths.py b/jupyter_core/paths.py index a7f0415..340a224 100644 --- a/jupyter_core/paths.py +++ b/jupyter_core/paths.py @@ -166,7 +166,9 @@ def jupyter_runtime_dir(): if use_platform_dirs(): - SYSTEM_JUPYTER_PATH = platformdirs.site_data_dir("Jupyter", appauthor=False, multipath=True).split(os.pathsep) + SYSTEM_JUPYTER_PATH = platformdirs.site_data_dir( + "Jupyter", appauthor=False, multipath=True + ).split(os.pathsep) else: deprecation( "Jupyter is migrating its paths to use standard platformdirs\n" @@ -253,7 +255,9 @@ def jupyter_path(*subdirs): if use_platform_dirs(): - SYSTEM_CONFIG_PATH = platformdirs.site_config_dir("Jupyter", appauthor=False, multipath=True).split(os.pathsep) + SYSTEM_CONFIG_PATH = platformdirs.site_config_dir( + "Jupyter", appauthor=False, multipath=True + ).split(os.pathsep) else: if os.name == "nt": programdata = os.environ.get("PROGRAMDATA", None)