mirror of
https://github.com/3b1b/manim.git
synced 2025-08-02 19:46:21 +08:00
Adjust typings for sounds.py and tex_file_writing.py
This commit is contained in:
@ -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()],
|
||||
|
Reference in New Issue
Block a user