Skip to content

Commit

Permalink
removed ,D102
Browse files Browse the repository at this point in the history
  • Loading branch information
pauladkisson committed Nov 21, 2024
1 parent cbfb3a7 commit be80b61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/neuroconv/tools/path_expansion.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ class LocalPathExpander(AbstractPathExpander):
See https://neuroconv.readthedocs.io/en/main/user_guide/expand_path.html for more information.
"""

def list_directory(self, base_directory: DirectoryPath) -> Iterable[FilePath]: # noqa: D101,D102
def list_directory(self, base_directory: DirectoryPath) -> Iterable[FilePath]: # noqa: D101
base_directory = Path(base_directory)
assert base_directory.is_dir(), f"The specified 'base_directory' ({base_directory}) is not a directory!"
return (str(path.relative_to(base_directory)) for path in base_directory.rglob("*"))
Expand Down

0 comments on commit be80b61

Please sign in to comment.