We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b5f7d86 commit ff441e0Copy full SHA for ff441e0
scripts/run_notebooks/runner.py
@@ -1,4 +1,22 @@
1
-"""Script to run all notebooks in the docs/source/notebooks directory."""
+"""CLI to notebook or directory of notebooks.
2
+
3
+Arguments
4
+---------
5
+--notebooks: Specific notebook or directory of notebooks to run.
6
+--mock: Run notebooks with mock code. Default is True. If --no-mock is provided,
7
+ notebooks will run without mock code.
8
9
+Examples
10
+--------
11
+Run all notebooks in a directory with mock code:
12
13
+ $ python scripts/run_notebooks/runner.py --notebooks notebooks/ --mock
14
15
+Run a single notebook without mocked code:
16
17
+ $ python scripts/run_notebooks/runner.py --notebooks notebooks/notebook.ipynb --no-mock
18
19
+"""
20
21
from argparse import ArgumentParser
22
0 commit comments