Skip to content

Commit 0edefcd

Browse files
authored
Merge pull request #121 from brian-rose/clean-up
Clean up
2 parents a8f7469 + fdee25b commit 0edefcd

File tree

3 files changed

+11
-10
lines changed

3 files changed

+11
-10
lines changed

.pre-commit-config.yaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ repos:
1010
- id: double-quote-string-fixer
1111

1212
- repo: https://github.com/psf/black
13-
rev: 22.12.0
13+
rev: 23.3.0
1414
hooks:
1515
- id: black
1616

@@ -28,8 +28,9 @@ repos:
2828
rev: v2.2.0
2929
hooks:
3030
- id: seed-isort-config
31+
3132
- repo: https://github.com/PyCQA/isort
32-
rev: 5.11.4
33+
rev: 5.12.0
3334
hooks:
3435
- id: isort
3536

@@ -40,7 +41,7 @@ repos:
4041
additional_dependencies: [[email protected]]
4142

4243
- repo: https://github.com/nbQA-dev/nbQA
43-
rev: 1.6.1
44+
rev: 1.7.0
4445
hooks:
4546
- id: nbqa-black
4647
additional_dependencies: [black]

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,12 +35,12 @@ This Project Pythia Cookbook covers ... (replace `...` with the main subject of
3535

3636
## Running the Notebooks
3737

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

4040
### Running on Binder
4141

4242
The simplest way to interact with a Jupyter Notebook is through
43-
[Binder](https://mybinder.org/), which enables the execution of a
43+
[Binder](https://binder.projectpythia.org/), which enables the execution of a
4444
[Jupyter Book](https://jupyterbook.org) in the cloud. The details of how this works are not
4545
important for now. All you need to know is how to launch a Pythia
4646
Cookbooks chapter via Binder. Simply navigate your mouse to

_config.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ title: Project Pythia Cookbook Template
55
author: the <a href="https://projectpythia.org/">Project Pythia</a> Community
66
logo: notebooks/images/logos/pythia_logo-white-rtext.svg
77
8-
copyright: "2022"
8+
copyright: "2023"
99

1010
description: A sample cookbook description.
1111
thumbnail: thumbnail.png
@@ -16,7 +16,7 @@ tags:
1616
- samplepackage
1717

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

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

0 commit comments

Comments
 (0)