Skip to content

Commit

Permalink
Now?
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasmittag committed Jul 19, 2024
1 parent 1343cad commit f8138d8
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions velocitas_lib/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
import re
import zipfile
from io import TextIOWrapper
from typing import Any, Callable, Dict, List, Optional
from typing import Any, Dict, List, Optional

import requests

Expand Down Expand Up @@ -212,12 +212,9 @@ def extract_zip(file_path: str, extract_to: str) -> str:
return extract_to
else:
raise RuntimeError(f"{file_path!r} is not a zip file!")


def discover_files_in_filetree(
tree_root: str,
file_type: str
) -> List[str]:

def discover_files_in_filetree(tree_root: str, file_type: str) -> List[str]:
"""
Recursively search for files with a specific file type under the tree root.
Expand Down

0 comments on commit f8138d8

Please sign in to comment.