Skip to content

Commit 8e26d05

Browse files
committed
docs and type
1 parent 7620c42 commit 8e26d05

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

manim/_config/new.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -813,7 +813,7 @@ def get_dir(self, key: Dirs, **kwargs: Any) -> Path:
813813
all_args.update(kwargs)
814814
all_args["quality"] = f"{self.pixel_height}p{self.frame_rate:g}"
815815

816-
path = getattr(self, key)
816+
path: str = getattr(self, key)
817817
while "{" in path:
818818
try:
819819
path = path.format(**all_args)

manim/_config/new__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99
from .config_provider import CfgProvider
1010
from .new import ManimConfig
1111

12+
# In the future, we will also read from TOMLProvider, and use the best provider depending on the existing
13+
# configuration files.
1214
cfg_provider = CfgProvider()
1315

1416
if cfg_provider.available:

0 commit comments

Comments
 (0)