-
-
Notifications
You must be signed in to change notification settings - Fork 25
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
feat: implement python package fetcher #407
feat: implement python package fetcher #407
Conversation
@andreoliwa CI failed on file that I didn't modified. Please help this. |
@isac322 Thanks a lot for this pull request! I still didn't have time to check it in detail, but hang in there. 😉 About the error, I guess that pylint might have been upgraded (I use Renovate Bot) and it might have a new check failing with existing code:
I will fix it in another commit, then you can rebase or merge the commit in your branch. |
I fixed the build. Please merge the I had to upgrade |
# Conflicts: # poetry.lock
This reverts commit 6a6f2aa.
@andreoliwa Conflict resolved! |
Pull Request Test Coverage Report for Build 1390202246
💛 - Coveralls |
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.
It looks good, thanks for this addition. 🙏🏻
I just left a few questions.
After having the answers, I can add some documentation on configuration.rst and approve this pull request.
Co-authored-by: W. Augusto Andreoli <andreoliwa@gmail.com>
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.
Thanks!
I'll add some docs about this feature, and we're good to go.
# [0.28.0](v0.27.0...v0.28.0) (2021-10-27) ### Bug Fixes * remove() has changed to detach() on the ConfigUpdater API ([93c6c52](93c6c52)) ### Features * read style from Python package (thanks to [@isac322](https://github.com/isac322)) ([#407](#407)) ([0a3c95d](0a3c95d))
🎉 This PR is included in version 0.28.0 🎉 The release is available on:
Your semantic-release bot 📦🚀 |
Fixes #202
Proposed changes
As I described in related issue, it would be more consistent if nitpick can fetch style file from installed python package.
I created custom URL scheme:
py://package_name/path/to/resource
and read resource file using importlib.resources which is recommended in modern Python.Checklist
make
locally before pushing commitsflake8
plugin (normal mode)flake8
plugin (offline mode)