Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Feb 5, 2024
1 parent ce8acde commit 0b3b2f2
Show file tree
Hide file tree
Showing 25 changed files with 523 additions and 523 deletions.
14 changes: 7 additions & 7 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
{
"build": {
"dockerfile": "./Dockerfile",
"context": "../conda"
"context": "../conda",
},
"postCreateCommand": {
"vscode": "mkdir ${containerWorkspaceFolder}/.vscode && cp ${containerWorkspaceFolder}/.devcontainer/tasks.json ${containerWorkspaceFolder}/.vscode/tasks.json"
"vscode": "mkdir ${containerWorkspaceFolder}/.vscode && cp ${containerWorkspaceFolder}/.devcontainer/tasks.json ${containerWorkspaceFolder}/.vscode/tasks.json",
},
"hostRequirements": {
"cpus": 2
"cpus": 2,
},
"customizations": {
"codespaces": {
"openFiles": ["README.md"]
"openFiles": ["README.md"],
},
"vscode": {
"extensions": ["ms-toolsai.jupyter", "ms-python.python"]
}
}
"extensions": ["ms-toolsai.jupyter", "ms-python.python"],
},
},
}
14 changes: 7 additions & 7 deletions .devcontainer/scipy2023/devcontainer.json
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
{
"build": {
"dockerfile": "../Dockerfile",
"context": "../../conda"
"context": "../../conda",
},
"postCreateCommand": {
"jupyterlab": "mkdir /home/jovyan/.jupyter && cp ${containerWorkspaceFolder}/.devcontainer/scipy2023/jupyter_lab_config.py /home/jovyan/.jupyter/jupyter_lab_config.py",
"vscode": "mkdir ${containerWorkspaceFolder}/.vscode && cp ${containerWorkspaceFolder}/.devcontainer/scipy2023/tasks.json ${containerWorkspaceFolder}/.vscode/tasks.json"
"vscode": "mkdir ${containerWorkspaceFolder}/.vscode && cp ${containerWorkspaceFolder}/.devcontainer/scipy2023/tasks.json ${containerWorkspaceFolder}/.vscode/tasks.json",
},
"hostRequirements": {
"cpus": 2
"cpus": 2,
},
"customizations": {
"codespaces": {
"openFiles": ["workshops/scipy2023/README.md"]
"openFiles": ["workshops/scipy2023/README.md"],
},
"vscode": {
"extensions": ["ms-toolsai.jupyter", "ms-python.python"]
}
}
"extensions": ["ms-toolsai.jupyter", "ms-python.python"],
},
},
}
6 changes: 3 additions & 3 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
version: 2
updates:
- package-ecosystem: 'docker'
directory: '/.devcontainer'
- package-ecosystem: "docker"
directory: "/.devcontainer"
schedule:
interval: 'daily'
interval: "daily"
2 changes: 1 addition & 1 deletion .github/workflows/qaqc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
with:
check_filenames: true
check_hidden: true
skip: '.git,*.js,qaqc.yml'
skip: ".git,*.js,qaqc.yml"
ignore_words_list: hist,nd

# borrowed from https://github.com/ProjectPythia/pythia-foundations/blob/main/.github/workflows/link-checker.yaml
Expand Down
12 changes: 6 additions & 6 deletions _config.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Learn more at https://jupyterbook.org/customize/config.html
title: ''
title: ""
author: The Xarray Community
copyright: '2023'
copyright: "2023"
logo: images/logo.png
only_build_toc_files: true

Expand Down Expand Up @@ -35,7 +35,7 @@ parse:
# Force re-execution of notebooks on each build.
# See https://jupyterbook.org/content/execute.html
execute:
execute_notebooks: 'cache'
execute_notebooks: "cache"
allow_errors: false
# Per-cell notebook execution limit (seconds)
timeout: 300
Expand All @@ -48,11 +48,11 @@ latex:
# Configure your Binder links, such as the URL of the BinderHub.
launch_buttons:
notebook_interface: jupyterlab
binderhub_url: 'https://mybinder.org'
binderhub_url: "https://mybinder.org"

# Information about where the book exists on the web
repository:
url: 'https://github.com/xarray-contrib/xarray-tutorial'
url: "https://github.com/xarray-contrib/xarray-tutorial"
branch: main

# Bibliography
Expand All @@ -71,7 +71,7 @@ sphinx:
config:
language: en # accessibility
# application/vnd.holoviews_load.v0+json, application/vnd.holoviews_exec.v0+json
suppress_warnings: ['mystnb.unknown_mime_type', 'misc.highlighting_failure']
suppress_warnings: ["mystnb.unknown_mime_type", "misc.highlighting_failure"]
notfound_context:
body: "<h1>Whoops! 404 Page Not Found</h1>\n\n<p>Sorry, this page doesn't exist. Many sections of this book have been updated recently.</p><p> Try the search box 🔎 to find what you're looking for!</p>"
notfound_urls_prefix: /
Expand Down
28 changes: 14 additions & 14 deletions advanced/apply_ufunc/automatic-vectorizing-numpy.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"cells": [
{
"cell_type": "markdown",
"id": "6849dcdc-3484-4f41-8b23-51613d36812f",
"id": "0",
"metadata": {
"tags": []
},
Expand All @@ -13,7 +13,7 @@
},
{
"cell_type": "markdown",
"id": "afc56d28-6e55-4967-b27d-28e2cc539cc7",
"id": "1",
"metadata": {
"tags": []
},
Expand Down Expand Up @@ -100,7 +100,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "76aa13b8-5ced-4468-a72e-6b0a29172d6d",
"id": "2",
"metadata": {
"tags": []
},
Expand All @@ -123,7 +123,7 @@
},
{
"cell_type": "markdown",
"id": "81356724-6c1a-4d4a-9a32-bb906a9419b2",
"id": "3",
"metadata": {
"tags": []
},
Expand All @@ -139,7 +139,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "cb286fa0-deba-4929-b18a-79af5acb0b5b",
"id": "4",
"metadata": {
"tags": []
},
Expand All @@ -160,7 +160,7 @@
},
{
"cell_type": "markdown",
"id": "e3382658-14e1-4842-a618-ce7a27948c31",
"id": "5",
"metadata": {
"tags": []
},
Expand All @@ -175,7 +175,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "1476bcce-cc7b-4252-90dd-f45502dffb09",
"id": "6",
"metadata": {
"tags": [
"raises-exception"
Expand All @@ -198,7 +198,7 @@
},
{
"cell_type": "markdown",
"id": "1d1da9c2-a634-4920-890c-74d9bec9eab9",
"id": "7",
"metadata": {
"tags": []
},
Expand All @@ -213,7 +213,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "fa306dcf-eec3-425c-b278-42d15bbc0e4f",
"id": "8",
"metadata": {
"tags": [
"raises-exception"
Expand All @@ -239,7 +239,7 @@
},
{
"cell_type": "markdown",
"id": "6f5c928b-f8cb-4016-9d6d-39743f9c2976",
"id": "9",
"metadata": {
"tags": []
},
Expand All @@ -255,7 +255,7 @@
},
{
"cell_type": "markdown",
"id": "737cc6b4-522f-488c-9124-524cc42ebef3",
"id": "10",
"metadata": {
"tags": []
},
Expand All @@ -265,7 +265,7 @@
},
{
"cell_type": "markdown",
"id": "b6dac8da-8420-4fc4-9aeb-29b8999d4b37",
"id": "11",
"metadata": {
"tags": []
},
Expand All @@ -291,7 +291,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "d72fdd8c-44d2-4f6e-9fc4-7084e0e49986",
"id": "12",
"metadata": {
"tags": [],
"user_expressions": []
Expand All @@ -313,7 +313,7 @@
},
{
"cell_type": "markdown",
"id": "d81f399e-1649-4d4b-ad28-81cba8403210",
"id": "13",
"metadata": {
"tags": []
},
Expand Down
30 changes: 15 additions & 15 deletions advanced/apply_ufunc/complex-output-numpy.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"cells": [
{
"cell_type": "markdown",
"id": "0203c86c-2e42-4226-acd1-1e9bcffc6708",
"id": "0",
"metadata": {
"tags": []
},
Expand Down Expand Up @@ -41,7 +41,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "f7842446-6b7d-494b-9625-5dd04dc6e9ad",
"id": "1",
"metadata": {
"tags": []
},
Expand All @@ -66,7 +66,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "936f0cb2-491b-4560-9470-d98df595b3d1",
"id": "2",
"metadata": {
"tags": []
},
Expand All @@ -79,7 +79,7 @@
},
{
"cell_type": "markdown",
"id": "db79d3e3-2a1a-4644-82a0-d58da74e0e36",
"id": "3",
"metadata": {
"tags": []
},
Expand Down Expand Up @@ -113,7 +113,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "b5e9b4b4-712d-4ef7-8e13-9bbbad59728a",
"id": "4",
"metadata": {
"tags": []
},
Expand All @@ -133,7 +133,7 @@
},
{
"cell_type": "markdown",
"id": "c0a5b8d4-729e-4d0e-b284-4751c5edc37c",
"id": "5",
"metadata": {
"tags": []
},
Expand Down Expand Up @@ -166,7 +166,7 @@
},
{
"cell_type": "markdown",
"id": "7767a63d-20c5-4c2d-8bf0-3b26bc2b336f",
"id": "6",
"metadata": {
"tags": [],
"user_expressions": []
Expand All @@ -183,7 +183,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "0fc8f8f5-0560-46f2-be65-8daabea2d837",
"id": "7",
"metadata": {
"tags": [
"raises-exception"
Expand All @@ -205,7 +205,7 @@
},
{
"cell_type": "markdown",
"id": "5276692d-0e1d-498a-8d60-e08a4d8b9d3a",
"id": "8",
"metadata": {
"tags": [],
"user_expressions": []
Expand All @@ -231,7 +231,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "61a39f36-9386-407b-b1c0-b49953da9d0c",
"id": "9",
"metadata": {
"tags": []
},
Expand All @@ -252,7 +252,7 @@
},
{
"cell_type": "markdown",
"id": "a3c45b16-795c-4549-95ee-8e9c0d7dd517",
"id": "10",
"metadata": {
"tags": []
},
Expand All @@ -273,7 +273,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "c7accd69-fece-46be-852b-0cb7c432197a",
"id": "11",
"metadata": {
"tags": []
},
Expand All @@ -289,7 +289,7 @@
},
{
"cell_type": "markdown",
"id": "c99f6a5e-f977-4828-9418-202d93d0acda",
"id": "12",
"metadata": {
"tags": [],
"user_expressions": []
Expand All @@ -305,7 +305,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "204c649e-18d4-403a-9366-c46caaaefb52",
"id": "13",
"metadata": {
"tags": []
},
Expand All @@ -322,7 +322,7 @@
},
{
"cell_type": "markdown",
"id": "b9b023e8-5ca4-436a-bdfb-3ce35f6ea712",
"id": "14",
"metadata": {
"tags": []
},
Expand Down
Loading

0 comments on commit 0b3b2f2

Please sign in to comment.