Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate setup.cfg to pyproject.toml #82

Closed
rsokl opened this issue Oct 11, 2022 · 0 comments · Fixed by #83
Closed

Migrate setup.cfg to pyproject.toml #82

rsokl opened this issue Oct 11, 2022 · 0 comments · Fixed by #83
Labels
repo/project tooling not part of src/ or tests/

Comments

@rsokl
Copy link
Contributor

rsokl commented Oct 11, 2022

setup.cfg will be deprecated: pypa/setuptools#3214

iirc, we were opting for setup.cfg because it is what versioneer supports, but now they support pyproject.toml: python-versioneer/python-versioneer@dc6402f

possible conversion tool:
https://ini2toml.readthedocs.io/en/latest/readme.html

Note that pyright's config can now be placed in the pyproject.toml file: https://github.com/microsoft/pyright/blob/main/docs/configuration.md#sample-pyprojecttoml-file although there are some caveats that may make it not worth it: microsoft/pyright#694 (comment)

@rsokl rsokl added the repo/project tooling not part of src/ or tests/ label Oct 11, 2022
@rsokl rsokl mentioned this issue Oct 14, 2022
@rsokl rsokl closed this as completed in #83 Oct 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
repo/project tooling not part of src/ or tests/
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant