Migrate the configs into pyproject.toml using ini2toml to do the file conversion and running validate-pyproject to validate the results. Skip any configuration that is not yet PEP 621 compatible. Currently flake8 is not compatible with pyproject.toml so put its config in a dedicated .flake8 file.
From validate-pyproject README:
With the approval of PEP 517 and PEP 518, the Python community shifted towards a strong focus on standardisation for packaging software, which allows more freedom when choosing tools during development and make sure packages created using different technologies can interoperate without the need for custom installation procedures.
This shift became even more clear when PEP 621 was also approved, as a standardised way of specifying project metadata and dependencies.
validate-pyproject was born in this context, with the mission of validating pyproject.toml files, and making sure they are compliant with the standards and PEPs.
Migrate the configs into
pyproject.toml
usingini2toml
to do the file conversion and runningvalidate-pyproject
to validate the results. Skip any configuration that is not yet PEP 621 compatible. Currentlyflake8
is not compatible withpyproject.toml
so put its config in a dedicated.flake8
file.From
validate-pyproject
README: