-
Notifications
You must be signed in to change notification settings - Fork 1
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 contributing helper doc #86
Conversation
@xiangchenjhu This looks great! Would you mind adding this to https://github.com/ssec-jhu/base-template when you have some spare time, please, cheers! BTW I opened ssec-jhu/base-template#151 for this. |
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.
looks great, thanks! One comment inline, and I also think it would probably be good to add a link to this document in the README
oh sorry, I missed that this is draft! |
It's should have been turned to formal PR. Thanks for reminding |
I added the link for CONTRIBUTING in README. I didn't find the comment inline you mentioned (because that's the draft PR?) Could you add it again, Thanks! |
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.
can you see it now?
CONTRIBUTING.md
Outdated
|
||
## Making Changes | ||
|
||
- **Coding Standards**: Follow PEP 8 for Python code. Use `ruff format` or `tox -e format` to ensure code formatting aligns with the repository’s requirements. |
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.
Here I think it would be better to just use the tox
command. Fewer options is better and tox codifies more than just the formatting - we can change in it's code without changing advice here.
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.
That makes sense. Using tox -e format as the single command has clear advantages. I initially used ruff format . because it was mentioned in the CI error, but after running tox -e format, it made additional adjustments on 9 more files :).
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!
Thanks for the advice |
No description provided.