-
Notifications
You must be signed in to change notification settings - Fork 32
Blue hawk demo #1197
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
Blue hawk demo #1197
Conversation
Suggestions are drifting from the originating lines; added more logic to ensure the suggestions line up properly
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
Warning Review the following alerts detected in dependencies. According to your organization's Security Policy, it is recommended to resolve "Warn" alerts. Learn more about Socket for GitHub.
|
Deploying docs with
|
Latest commit: |
e368b54
|
Status: | ✅ Deploy successful! |
Preview URL: | https://c33a93b4.docodile.pages.dev |
Branch Preview URL: | https://blue-hawk-demo.docodile.pages.dev |
id: list-scripts | ||
run: | | ||
SCRIPTS=$(find scripts -name "*.py" | jq -R -s -c 'split("\n")[:-1]') | ||
SCRIPTS=$(find code_examples/source -name "*.py" | jq -R -s -c 'split("\n")[:-1]') |
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 is a bit greedy. At a minimum I'd add -type f
so you don't find directories that end in .py
. I'm also confused why you have to take something that is going to be multi-line input with one result per line, join it up, and then split it again right away?
SCRIPTS=$(find code_examples/source -name "*.py" | jq -R -s -c 'split("\n")[:-1]') | |
SCRIPTS=$(find 'code_examples/source' -type f -name "*.py" | jq -R -s -c 'split("\n")[:-1]') |
PR Preview: Changed content Base preview: https://blue-hawk-demo.docodile.pages.dev Added
Modified
|
Closing in favor of: #1668 |
quickstart.py
:Where
quickstart
refers to the file name andall
refers to the code block comment + titleThis PR also adds a GitHub Action that checks:
check_dependencies.sh
code_examples/source
run successfully. It usesmatrix
to check files in parallel.This is a WIP PR. Not ready for reviews just yet while I still demo, configure.
Known to-dos:
wandb
API key for checks. See this line in error message.📄 View preview links for changed pages