Skip to content

Commit

Permalink
pre-commit update
Browse files Browse the repository at this point in the history
  • Loading branch information
dcherian committed Feb 17, 2024
1 parent 457e5e9 commit f2777d0
Show file tree
Hide file tree
Showing 24 changed files with 514 additions and 514 deletions.
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
10 changes: 5 additions & 5 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ repos:
- id: double-quote-string-fixer

- repo: https://github.com/psf/black
rev: 23.10.1
rev: 24.2.0
hooks:
- id: black
- id: black-jupyter
Expand All @@ -24,22 +24,22 @@ repos:
- id: blackdoc

- repo: https://github.com/PyCQA/flake8
rev: 6.1.0
rev: 7.0.0
hooks:
- id: flake8

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

- repo: https://github.com/pre-commit/mirrors-prettier
rev: v3.0.3
rev: v4.0.0-alpha.8
hooks:
- id: prettier

- repo: https://github.com/kynan/nbstripout
rev: 0.6.1
rev: 0.7.1
hooks:
- id: nbstripout
args: [--extra-keys=metadata.kernelspec metadata.language_info.version]
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 f2777d0

Please sign in to comment.