Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Sep 27, 2022
1 parent 2f5d854 commit 23e4520
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions jupyter_core/paths.py
Expand Up @@ -43,6 +43,7 @@ def envset(name, default=False):

return os.environ[name].lower() not in ["no", "n", "false", "off", "0", "0.0"]


def use_platform_dirs():
"""Determine if platformdirs should be used for system-specific paths.
Expand All @@ -51,6 +52,7 @@ def use_platform_dirs():
"""
return envset("JUPYTER_PLATFORM_DIRS", False)


def get_home_dir():
"""Get the real path of the home directory"""
homedir = os.path.expanduser("~")
Expand Down

0 comments on commit 23e4520

Please sign in to comment.