sarugaku / plette

Structured Pipfile and Pipfile.lock models.
ISC License
7 stars 7 forks source link

Migrate configs for isort and pytest into pyproject.toml #27

Closed cclauss closed 1 year ago

cclauss commented 1 year ago

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.