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?
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
, andBTrees
, which does.@dwt: Can you check to see if this works for you and gets rid of the warnings?