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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for pyproject.toml as configuration file #12

Open
espetro opened this issue May 6, 2021 · 2 comments
Open

Add support for pyproject.toml as configuration file #12

espetro opened this issue May 6, 2021 · 2 comments

Comments

@espetro
Copy link

espetro commented May 6, 2021

Hello,

Is pyproject.toml supported as a configuration file? If not, do you know what should be updated? I'm more than happy to contribute 馃槃

Thanks in advance!

@msztolcman
Copy link
Owner

Hello @espetro,

You mean replace .versionner.rc with pyproject.toml? It's not so easy - this file is python specific, and versionner is used by people in other kind of platforms too (I am using it in a lot of PHP repositories).

I was thinking about this for a while, and it possible, but with some fallbacks. i.e. should be verified that .versionner.rc file exists, and if not, then to search for pyproject.toml, and maybe some others too.

It's something around places like:

Of course toml module should be added etc... But it's a lot of work :)

@espetro
Copy link
Author

espetro commented May 10, 2021

What I meant is that this package provides a support for multiple configuration files, not just one, as done in autopep8. The main motivation is not to have multiple configuration files for different tools but one, as it's done in other languages such as JavaScript with package.json.

I will take a look at it and get back to you, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants