Skip to content

Commit

Permalink
Black formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
rlratzel committed Nov 16, 2023
1 parent 684521b commit f7d4e02
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions python/cugraph/cugraph/datasets/dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ class DefaultDownloadDir:
in order to allow for the download directory to be defined and updated by
a single object.
"""

_default_base_dir = Path.home() / ".cugraph/datasets"

def __init__(self, *, subdir=""):
Expand All @@ -47,8 +48,9 @@ def path(self, new):
self._path = Path(new)

def reset(self):
self._basedir = Path(os.environ.get("RAPIDS_DATASET_ROOT_DIR",
self._default_base_dir))
self._basedir = Path(
os.environ.get("RAPIDS_DATASET_ROOT_DIR", self._default_base_dir)
)
self._path = self._basedir / self._subdir


Expand All @@ -67,6 +69,7 @@ class Dataset:
information on the name, type, url link, data loading format, graph
properties
"""

def __init__(
self,
metadata_yaml_file=None,
Expand Down

0 comments on commit f7d4e02

Please sign in to comment.