I am using the toml package to read my pyproject.toml
file.
I want to add custom data which in this case I will read in my docs/conf.py
file.
When I try and add a custom section I get errors and warnings from Even Better TOML extension in Vs Code stating that my custom data is no allowed.
Example TOML section in pyproject.toml
[custom.metadata]
docs_name = "GUI Automation for windows"
docs_author = "myname"
docs_copyright = "2023"
docs_url= "https://someurl.readthedocs.io/en/latest/"
So, my question is: Is there a valid way of adding custom data to a pyproject.toml
file?
pyproject.toml
file is never installed. It is only available in your source code repository and in the source distributions (sdists). – Gomar