Adjust typings for sounds.py and tex_file_writing.py

This commit is contained in:
YishiMichael
2022-04-16 14:37:28 +08:00
parent 654da85cf6
commit 0406ef70bb
2 changed files with 12 additions and 8 deletions

View File

@ -1,8 +1,10 @@
from __future__ import annotations
from manimlib.utils.directories import get_sound_dir
from manimlib.utils.file_ops import find_file
def get_full_sound_file_path(sound_file_name) -> str:
def get_full_sound_file_path(sound_file_name: str) -> str:
return find_file(
sound_file_name,
directories=[get_sound_dir()],