On that note, I will never understand why they chose .toml instead of just json or yaml..
https://peps.python.org/pep-0518/#other-file-formats
More editable than JSON and far simpler than YAML.
---
The Rust ecosystem also uses TOML.
JSON - not the most convenient to use for human beings, too much quoting, not too git friendly because of disallowed trailing commas, etc.
TOML sits somewhere inbetween, easy to write but the spec is very short; also being used in Rust and a few other places.
Instead of:
[project] requires-python = ">=3.11" dependencies = [ "requests<3", "rich", ]
You could write:
{ "project": { "requires-python":">=3.11", "dependencies" : [ "requests<3", "rich" ] }
Gotta think carefully about this... Might upset some coworkers
https://peps.python.org/pep-0518/#other-file-formats