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

Add support for pyproject.toml #254

Open
novopl opened this issue Dec 11, 2020 · 0 comments
Open

Add support for pyproject.toml #254

novopl opened this issue Dec 11, 2020 · 0 comments
Assignees
Labels
Projects
Milestone

Comments

@novopl
Copy link
Owner

novopl commented Dec 11, 2020

What?

Support reading peltak configuration from pyproject.toml. It should be possible to completely replace pelconf.yaml.

Why?

Looks like the python community is settling on the usage of pyproject.toml. This way we do not force a separate configuration file to exist in the project if the user chooses so. We should still support pelconf.yaml in case you want to keep the configuration separate (might be usefull for giant pyproject.toml files).

Added bonus is that even if the project is not using pelconf.yaml and has 0 peltak specific configuration in pyproject.toml we will still be able to use that file to determine the project root directory.

How?

We need to be able to read toml files. It is possible to store the existing configuration in toml format, so it's mainly creating a parser.

We also need a way to determine the project root directory by looking for pyproject.toml files as well.

@novopl novopl added the feature label Dec 11, 2020
@novopl novopl added this to the 1.0 milestone Dec 11, 2020
@novopl novopl self-assigned this Dec 11, 2020
@novopl novopl added this to Capture in 1.0 via automation Dec 11, 2020
@novopl novopl moved this from Capture to Should in 1.0 Dec 11, 2020
@novopl novopl moved this from Should to Doing in 1.0 Dec 26, 2020
@novopl novopl moved this from Doing to Ready for Release in 1.0 Dec 26, 2020
@novopl novopl moved this from Ready for Release to Released in 1.0 Jan 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
1.0
  
Released
Development

No branches or pull requests

1 participant