-
Notifications
You must be signed in to change notification settings - Fork 303
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
[Docs] CI for variables.yaml + CI for docs update #2457
[Docs] CI for variables.yaml + CI for docs update #2457
Conversation
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.
Nice! Some nits though.
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.
nits
Also, I think it is worth creating a prior pull request that only updates the formatting of variables.yaml so that this PR does not update the variables.yaml, that way you avoid pull request merge conflicts if this PR needs to be hold off.
b64ab9e
to
e26f811
Compare
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.
Suggestion: If FlowVariables.md is modified and it does not match the generatedocs.py result in a PR fail the PR.
@oharboe FlowVariables.md changes are detected in the update-pr section. Do you mean to shift it up to the lint section? |
I am thinking this is more linting than testing, yes. It is fast enough.... |
yamlfix.toml
Outdated
@@ -0,0 +1,11 @@ | |||
explicit_start = true | |||
line_length = 120 |
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 like it is being wrapped at 80 characters not 120. 80 is preferable as it match Google style for c++. Does this do anything?
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.
Yes, it does. The command to run for check is yamlfix -c yamlfix.toml flow/scripts/variables.yaml --check
, whereas for format is yamlfix -c yamlfix.toml flow/scripts/variables.yaml
. Next PR should reflect line length 80.
50c1d09
to
a50fc37
Compare
4c8cb75
to
3c60cba
Compare
Signed-off-by: Jack Luar <jluar@precisioninno.com>
…ction Signed-off-by: Jack Luar <jluar@precisioninno.com>
Signed-off-by: Jack Luar <jluar@precisioninno.com>
Signed-off-by: Jack Luar <jluar@precisioninno.com>
Signed-off-by: Jack Luar <jluar@precisioninno.com>
Signed-off-by: Jack Luar <jluar@precisioninno.com>
Signed-off-by: Jack Luar <jluar@precisioninno.com>
Signed-off-by: Jack Luar <jluar@precisioninno.com>
Signed-off-by: Jack Luar <jluar@precisioninno.com>
3c60cba
to
8751209
Compare
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.
LGTM
Tracked in #2452
Fixes #2444