Skip to content
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

Added Jupytext support and ndlv script for debugging cells. #123

Merged
merged 12 commits into from
Jul 10, 2024
Merged

Conversation

janpfeifer
Copy link
Owner

  • Jupytext integration #120:
    • Many thanks for Marc Wouts for adding support in Jupytext,
      and @HaveF for the help and starting the topic.
    • Handle special commands to be prefixed with //gonb: -- this allows special commands to be parseable Go code, and makes it easier for IDEs.
    • Ignore package tag -- as opposed to raising an error: also to make easy on IDEs that may require a package tag.
    • Added special variation: %exec <function_name> <args...> that creates a main function that calls <function_name>
      and sets the program arguments (flags) to the given values.
  • Added ndlv wrapper script for starting gdlv on cell binary.
  • Notebook testing: changed nbexec to use system's google-chrome if available (with sandbox), or let Rod download
    chromium, but then use with --no-sandbox (since there is no SUID on the binaries).

@janpfeifer janpfeifer merged commit f23c806 into main Jul 10, 2024
1 check failed
@janpfeifer janpfeifer deleted the jupytext branch October 17, 2024 06:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant