PEP 631 - Dependency specification in pyproject.toml based on PEP 508

Honestly, TOML is pretty-Python like on most fronts:

dependencies = """
a == 1.0.0
b == 2.0.0
"""

We can use the textwrap.dedent / line.strip() logic, allowing all the lines to be indented.

1 Like