Skip to content

Commit 4af78a7

Browse files
authored
Merge pull request #141 from ceball/option_group
Group nbval command line options under 'nbval'.
2 parents 6d5b15c + e1c396a commit 4af78a7

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,8 +115,8 @@ notebook are run on the same kernel.
115115
## Help
116116
The `py.test` system help can be obtained with `py.test -h`, which will
117117
show all the flags that can be passed to the command, such as the
118-
verbose `-v` option. The IPython notebook plugin can be found under the
119-
`general` section.
118+
verbose `-v` option. Nbval's options can be found under the
119+
`Jupyter Notebook validation` section.
120120

121121

122122
## Acknowledgements

nbval/plugin.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,9 +65,10 @@ def pytest_addoption(parser):
6565
6666
This is called by the pytest API
6767
"""
68-
group = parser.getgroup("general")
68+
group = parser.getgroup("nbval", "Jupyter Notebook validation")
69+
6970
group.addoption('--nbval', action='store_true',
70-
help="Validate Jupyter notebooks")
71+
help="Run Jupyter notebooks, validating all output")
7172

7273
group.addoption('--nbval-lax', action='store_true',
7374
help="Run Jupyter notebooks, only validating output on "

0 commit comments

Comments
 (0)