Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
thomwolf committed Oct 31, 2023
1 parent 5e8f1b7 commit 5a55117
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/datatrove/io/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,14 +66,15 @@ def open(self, binary=False, compression: Literal["gzip", "zst"] | None = None):

@dataclass
class BaseInputDataFolder(ABC):
""" An input data folder
Args:
"""An input data folder
Args:
path (str): path to the folder
extension (str | list[str], optional): file extensions to filter. Defaults to None.
recursive (bool, optional): whether to search recursively. Defaults to True.
match_pattern (str, optional): pattern to match file names. Defaults to None.
"""

path: str
extension: str | list[str] = None
recursive: bool = True
Expand Down

0 comments on commit 5a55117

Please sign in to comment.