feat(lib): change config file from json to toml (#224)

This PR introduces a **BREAKING CHANGE**: the general config file is now written in the TOML format. Keys are also placed under a shared subsection. Previous config files will be ignore.

Migration from the previous format can be easily performed with `manim-slides init` and copy/pasting the key codes if necessary.
This commit is contained in:
Jérome Eertmans
2023-07-24 14:46:15 +02:00
committed by GitHub
parent 529a6c534f
commit a7719dbb8b
7 changed files with 117 additions and 50 deletions

View File

@ -6,7 +6,7 @@ def test_folder_path() -> None:
def test_config_path() -> None:
assert CONFIG_PATH == ".manim-slides.json"
assert CONFIG_PATH == ".manim-slides.toml"
def test_ffmpeg_bin() -> None: