PEP 518: clarify scope of [tool] section?

Hello, hopefully this is an ok place to post this. I apologize if this has already been brought up, but I can’t find any discussion about it in the usual places.

PEP 518 has a section about tools. It seems that there is some confusion about whether this is meant for build tools only (also is there a good definition of a build tool), or if any tool is allowed/supposed to use this section. I can see it both ways, and I have seen others read it both ways. Some tools like black have already started using this section, so if they are not supposed to be, it would be good to clarify this.

Thank you all for working on advancing Python packaging :slight_smile:

1 Like

The intention was to make pyproject.toml usable for any configuration related to your python project, not just build tools specifically.

2 Likes

Thank you for the quick reply! That is what I thought, but I’ve seen several people say it was only meant for build tools. So perhaps a wording change or addendum would be in order?

Want to submit a PR to the peps repo?

1 Like

Done here: