Closed cclauss closed 8 months ago
All modified and coverable lines are covered by tests :white_check_mark:
Comparison is base (
e7b9365
) 93.83% compared to head (6fb51b0
) 93.83%.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
I extracted just the PEP 621 part in #253, any review welcome. Of course, the rest of the patch is also valuable and could be pushed in a separate PR. By the way, I don't think we need both ruff and flake8. ruff only is fine.
Closing in favor of #256
How
Migrate
setup.py
tosetup.cfg
using setuptools-py2cfg plus manual modifications. Use setup-cfg-fmt to format the results.Migrate settings from
setup.cfg
intopyproject.toml
using ini2toml to do the file conversion and running pyproject-fmt and then validate-pyproject in pre-commit to validate the results.Flake8 still does not support the use
pyproject.toml
so its configuration was moved to a.flake8
file.Why
https://setuptools.pypa.io/en/latest/userguide/quickstart.html#basic-use
From
validate-pyproject
README: