mirror of
https://github.com/ethauvin/warp-themes.git
synced 2025-04-25 09:07:11 -07:00
Adding any type for mypy
This commit is contained in:
parent
45294b57d3
commit
ebcae86042
1 changed files with 2 additions and 2 deletions
|
@ -10,8 +10,8 @@ import yaml
|
||||||
|
|
||||||
|
|
||||||
def get_all_input_files(input_dir: str) -> List[str]:
|
def get_all_input_files(input_dir: str) -> List[str]:
|
||||||
filenames = next(os.walk(input_dir), (None, None, []))[2]
|
filenames: Any = next(os.walk(input_dir), (None, None, []))[2]
|
||||||
files = filter(lambda f: (f.endswith("yaml") or f.endswith("yml")), filenames)
|
files: Any = filter(lambda f: (f.endswith("yaml") or f.endswith("yml")), filenames)
|
||||||
return list(files)
|
return list(files)
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue