I'm not using YAML:
- https://hitchdev.com/strictyaml/why/implicit-typing-removed/
- https://stackoverflow.com/a/21699210/9769953
For now, TOML serves my purposes nicely: readable, clearer types (including date-time), and nowadays read-only support in Python's stdlib (since 3.11; TOML 1.1 support from 3.15).
JSON and XML are unreadable for user-configuration files; these are meant for machine - machine (software - software) communication. Python's configparser style (.ini files) works, but is limited in types (no date-time or arrays), although there is something to be said for keeping everything a string and leave the validation to another part of your software.