-
Notifications
You must be signed in to change notification settings - Fork 491
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
Adds markdown-link-check and fixes a broken link #165
Conversation
Signed-off-by: Adrian Cole <adrian.cole@elastic.co>
rev: v3.11.2 | ||
hooks: | ||
- id: markdown-link-check | ||
args: ['--quiet'] |
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 isn't really related to your PR since you're just adding to where these checks are already, but it would be nice to add all of this to CI using github actions. If the maintainers support it, I can file an issue to track it.
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 feels like it is related to the PR? The title says they are adding a link check.
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.
Sorry, my comment wasn't clear. I mean MY comment isn't related to the PR. In other words, I'm not suggesting this PR should change, but just sharing a thought for the future (that we should also run these checks in CI)
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.
Ohhh! yes, absolutely. Let's file an issue for it. We have CI landing shortly on this repository but having an issue to make sure we don't forget this specific bit would be useful.
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.
Filed #172 to come back and see if all the pre-commit checks are running in CI at some point
pip_packages=[ | ||
"boto3" | ||
], | ||
pip_packages=["boto3"], |
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 you have a couple of Python changes (this one and another in augment_messages.py) that are unrelated to markdown linting.
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.
Yeah I think it just feels like they ran pre-commit and ended up doing formatting. Seems OK.
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.
Ah, makes sense.
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 thank you!
pip_packages=[ | ||
"boto3" | ||
], | ||
pip_packages=["boto3"], |
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.
Yeah I think it just feels like they ran pre-commit and ended up doing formatting. Seems OK.
rev: v3.11.2 | ||
hooks: | ||
- id: markdown-link-check | ||
args: ['--quiet'] |
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 feels like it is related to the PR? The title says they are adding a link check.
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
thanks for resolving this on own! cheers |
Note the image here is a bad link, but I don't have content for it:
2.4 Prompt Format
You can even run
llama model prompt-format
see all of the templates and their tokens: