-
Notifications
You must be signed in to change notification settings - Fork 35
Add workflow for format checking of markdown files; fix minor formatting errors #85
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
Conversation
hi @BenjaminRodenberg 👋 welcome to pyOpenSci. I'm curious what your goal is with this PR. This is a software review repository so we don't necessarily want to modify the markdown but it is nice to have those types of fixes on our templates. A. bit more information would be wonderful here. For instance i think this will only run on our .github directory which is good looking at the action. but have you tried to run the linter locally on these files is that what this pr represents? many thanks for the pr! |
.markdownlint.json
Outdated
"MD007": false, | ||
"MD009": false, | ||
"MD010": false, | ||
"MD012": false, | ||
"MD013": false, | ||
"MD022": false, | ||
"MD024": false, | ||
"MD033": false, | ||
"MD036": false, | ||
"MD040": false, | ||
"MD047": false |
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.
By removing these lines, you can activate additional checks.
Hi @lwasser ! I just stumbled over the formatting errors in the templates, so I fixed them. The main goal with the workflow is to avoid these kind of formatting errors and inconsistencies in the future. We are using this workflow in one of our repositories and it's quite helpful for ourselves - but also for contributors. On your question about running things locally: There are two possibilities. 1) I used If I run |
ok wonderful - thank you so so much for this @BenjaminRodenberg !! i will have a closer look at it tomorrow. I just approved the CI build so we can look at how it runs here. I'm so appreciative of this contribution. May I ask how you found us? THANK YOU. i will also add you as a contributor to our organization! |
Thank you :) I'm glad, if my contribution helps!
Actually over the comment under this post on Linkedin: https://www.linkedin.com/posts/lorenabarba_better-incentives-are-needed-to-reward-academic-activity-7036783075208364032-iHSk mentioning pyopensci. |
interesting thread. thank you for sharing that! i hope people don't perceive our review process as scary or having a high bar to get in for a review :) we do welcome people who intend to their maintain packages and also hope to help them improve their packages through our review and to get credit via the partnership with joss :) if you do have any questions feel free to ping us about the process. in the meantime - let's get these changes merged - i'm reviewing it all closely now. |
the failure is the other linter i tried to add - it's supposed to check links and one is failing but it's a 403 so that is fine. i may need to add a config file. |
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.
this looks great - let's merge it!
@all-contributors please add @BenjaminRodenberg for code, review |
I've put up a pull request to add @BenjaminRodenberg! 🎉 |
many thanks for this @BenjaminRodenberg and please do get in touch with us / me if you have any questions about our review process!! |
I found some formatting errors and fixed them. Additionally, I added a markdown linter that we use in https://github.com/precice/tutorials for checking our markdown files. Please note that I deactivated many checks, because I did not want introduce a diff that is too large.