zopefoundation / meta

Meta issues concerning many/all of the zopefoundation repositories.
Other
7 stars 6 forks source link

Add ``pyproject.toml`` to the list of managed files #276

Closed dataflake closed 1 month ago

dataflake commented 1 month ago

This PR is an alternative implementation of #270. It uses tomlkit to load an existing file and then merges some sane defaults before writing it to disk.

Successfully tested against Zope, which has no pre-existing pyproject.toml, and BTrees, which does.

@dwt: Can you check to see if this works for you and gets rid of the warnings?

dwt commented 1 month ago

Sorry, I only have time on Tuesdays to look into this stuff, so I hope I get to it tomorrow.

dwt commented 1 month ago

oh... yeah, this is an RST file not a Markdown. Ah well, my bad.

dwt commented 1 month ago

Seems to work well for me.