-
Notifications
You must be signed in to change notification settings - Fork 4
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
Use IDR workflows #134
Use IDR workflows #134
Conversation
Code Coverage Summary
Results for commit: d7dbf27 Minimum allowed coverage is ♻️ This comment has been updated with latest results |
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.
thx a lot Dinakar! much appreciated
I'm just going to try to fix what I can and will merge after. |
Thanks @cicdguy , let me know once you are out of luck, then I can push more fixes on this branch, so that we avoid broken |
Thank you for this, but did the code really need to be converted from 4 spaces to 2 ? I know its all subjective but I personally find 2 spaces quite hard to visually read so had made it 4 spaces on purpose (though if I had free choice I would personally go for 3 spaces 😈 ) |
Maybe we can just set a linter / styler option for 4 spaces indentation? If not, I would suggest to go with the standard = supported by the linter and styler packages |
I've not tested it but from a quick google search the following should apparently do it:
|
True for Related discussion here: r-lib/styler#319 |
Could this be helpful? |
That would help from an editor setting standpoint. We can add the "4 vs 2" space setting as part of a custom workflow configuration instead. We'll just need to call out this style preference in the developer docs for this repo. |
@gowerc Can you make the call as Eng lead here regarding the trade off between better readability for you and maybe others vs higher maintenance effort? (custom workflow, editing settings, difference from other packages) |
I feel pretty strongly for using 4 spaces. Assuming I will re-inherit this when I come back it will annoy me much more having to code in 2 spaces from now on over having to add a configuration line into the workflow file :) If you intend to put me on a different project then feel free to do whatever :) |
As an aside from here it is implied that the Styler repo is currently abandoned / seeking a new maintainer. Is this an issue for us at all ? |
@cicdguy Is my understanding correct that we basically just take the default |
Or, alternatively, could you add a number parameter to your template workflow, that can then be modified in downstream repos? e.g. |
@cicdguy I just tried to resolve the merge conflicts but that seems too complicated, I would suggest to close this PR and make a new one, including the indentation setting adaptation as discussed above |
Instead of the custom ones.