Skip to content

Commit

Permalink
Format black
Browse files Browse the repository at this point in the history
  • Loading branch information
pyiron-runner committed Mar 14, 2024
1 parent 1af57c3 commit d8adf5d
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions pyfileindex/pyfileindex.py
Expand Up @@ -117,7 +117,9 @@ def update(self):
.reset_index(drop=True)
)

def _init_df_lst(self, path_lst: list, df: pandas.DataFrame = None, include_root: bool = True) -> pandas.DataFrame:
def _init_df_lst(
self, path_lst: list, df: pandas.DataFrame = None, include_root: bool = True
) -> pandas.DataFrame:
"""
Internal function to build the pandas file index from a list of directories
Expand All @@ -137,7 +139,9 @@ def _init_df_lst(self, path_lst: list, df: pandas.DataFrame = None, include_root
total_lst.append(entry)
return self._create_df_from_lst(total_lst)

def _scandir(self, path: str, df: pandas.DataFrame = None, recursive: bool = True) -> list:
def _scandir(
self, path: str, df: pandas.DataFrame = None, recursive: bool = True
) -> list:
"""
Internal function to recursivley scan directories
Expand Down

0 comments on commit d8adf5d

Please sign in to comment.