Skip to content

Commit

Permalink
Notebook examples.
Browse files Browse the repository at this point in the history
  • Loading branch information
coady committed Jul 14, 2019
1 parent 9494b1d commit f98a29e
Show file tree
Hide file tree
Showing 16 changed files with 522 additions and 316 deletions.
1 change: 1 addition & 0 deletions .hgignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ syntax: glob
docs/_build
.coverage
.pytest_cache
.ipynb_checkpoints
1 change: 0 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ check:
python3 setup.py $@ -ms
black --check -q .
flake8
python3 -m examples
pytest-2.7 tests/test_engine.py --cov=lupyne.engine --cov-fail-under=100
pytest --cov --cov-fail-under=100
pytest -vk example
5 changes: 3 additions & 2 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
# If extensions (or modules to document with autodoc) are in another directory,
# add these directories to sys.path here. If the directory is relative to the
# documentation root, use os.path.abspath to make it absolute, like shown here.
sys.path.insert(0, os.path.abspath('..'))
sys.path.append(os.path.abspath('..'))
import lupyne

# -- General configuration ------------------------------------------------
Expand All @@ -33,6 +33,7 @@
'sphinx.ext.autodoc',
'sphinx.ext.viewcode',
'sphinxcontrib.programoutput',
'nbsphinx',
]

# Add any paths that contain templates here, relative to this directory.
Expand Down Expand Up @@ -78,7 +79,7 @@

# List of patterns, relative to source directory, that match files and
# directories to ignore when looking for source files.
exclude_patterns = ['_build']
exclude_patterns = ['_build', '.ipynb_checkpoints']

# The reST default role (used for this markup: `text`) to use for all
# documents.
Expand Down

0 comments on commit f98a29e

Please sign in to comment.