-
-
Notifications
You must be signed in to change notification settings - Fork 18
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
Support for pyproject.toml #228
Conversation
b2ea435
to
3920673
Compare
@why-not-try-calmer thanks a lot for this contribution! @Gustry @Guts ok for you? |
LGTM, thanks :)
Fine for me, I have never used it :) |
The |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You need to add this new configuration option in docs/configuration/options.md
95b078e
to
d002c66
Compare
In the documentation in the MD file, I meant mainly line 6 at the top of the file. Thanks @why-not-try-calmer |
Done. Independently of this PR I'd suggest suffixing text files that meet a specific format (i.e. .qgis-plugin-ci -> .qgis-plugin-ci.yml). |
66263d7
to
81d5d14
Compare
- pyproject.toml are becoming the standard nowadays for packaging Python applications so I felt it would be nice to have. - did some DRY-cleaning, moving the logic initializing the argparse Parameters to a stand-alone top level function. It could be an instance method of Parameters too, it's easy to refactor from one to the other. - added tests leveraging the two aforementioend changes - reduced time complexity when collecting metadata - sprinkled some type hints here and there README --- collecting metadata: O(n) from O(n^2)
81d5d14
to
476ee61
Compare
Adding support for pyproject.toml files