Skip to content

Commit

Permalink
Merge pull request #121 from brian-rose/clean-up
Browse files Browse the repository at this point in the history
Clean up
  • Loading branch information
brian-rose committed Jun 15, 2023
2 parents a8f7469 + fdee25b commit 0edefcd
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 10 deletions.
7 changes: 4 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ repos:
- id: double-quote-string-fixer

- repo: https://github.com/psf/black
rev: 22.12.0
rev: 23.3.0
hooks:
- id: black

Expand All @@ -28,8 +28,9 @@ repos:
rev: v2.2.0
hooks:
- id: seed-isort-config

- repo: https://github.com/PyCQA/isort
rev: 5.11.4
rev: 5.12.0
hooks:
- id: isort

Expand All @@ -40,7 +41,7 @@ repos:
additional_dependencies: [prettier@v2.7.1]

- repo: https://github.com/nbQA-dev/nbQA
rev: 1.6.1
rev: 1.7.0
hooks:
- id: nbqa-black
additional_dependencies: [black]
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,12 @@ This Project Pythia Cookbook covers ... (replace `...` with the main subject of

## Running the Notebooks

You can either run the notebook using [Binder](https://mybinder.org/) or on your local machine.
You can either run the notebook using [Binder](https://binder.projectpythia.org/) or on your local machine.

### Running on Binder

The simplest way to interact with a Jupyter Notebook is through
[Binder](https://mybinder.org/), which enables the execution of a
[Binder](https://binder.projectpythia.org/), which enables the execution of a
[Jupyter Book](https://jupyterbook.org) in the cloud. The details of how this works are not
important for now. All you need to know is how to launch a Pythia
Cookbooks chapter via Binder. Simply navigate your mouse to
Expand Down
10 changes: 5 additions & 5 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ title: Project Pythia Cookbook Template
author: the <a href="https://projectpythia.org/">Project Pythia</a> Community
logo: notebooks/images/logos/pythia_logo-white-rtext.svg
email: projectpythia@ucar.edu
copyright: "2022"
copyright: "2023"

description: A sample cookbook description.
thumbnail: thumbnail.png
Expand All @@ -16,7 +16,7 @@ tags:
- samplepackage

execute:
# To execute notebooks via a binder instead, replace 'cache' with 'binder'
# To execute notebooks via a Binder instead, replace 'cache' with 'binder'
execute_notebooks: cache
timeout: 600
allow_errors: False # cells with expected failures must set the `raises-exception` cell tag
Expand All @@ -36,10 +36,10 @@ parse:

sphinx:
config:
linkcheck_ignore: ["https://doi.org/*",]
nb_execution_raise_on_error: true # raise exception in build if there are notebook errors
linkcheck_ignore: ["https://doi.org/*"] # don't run link checker on DOI links since they are immutable
nb_execution_raise_on_error: true # raise exception in build if there are notebook errors (this flag is ignored if building on binder)
html_favicon: notebooks/images/icons/favicon.ico
html_last_updated_fmt: '%-d %B %Y'
html_last_updated_fmt: "%-d %B %Y"
html_theme: sphinx_pythia_theme
html_permalinks_icon: '<i class="fas fa-link"></i>'
html_theme_options:
Expand Down

0 comments on commit 0edefcd

Please sign in to comment.