From bae7cf15437fb886d78718d468d597a9b149a9ac Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 8 Jan 2024 21:15:34 +0000 Subject: [PATCH 1/4] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/psf/black: 23.12.0 → 23.12.1](https://github.com/psf/black/compare/23.12.0...23.12.1) - [github.com/PyCQA/flake8: 6.1.0 → 7.0.0](https://github.com/PyCQA/flake8/compare/6.1.0...7.0.0) - [github.com/pre-commit/mirrors-prettier: v3.1.0 → v4.0.0-alpha.8](https://github.com/pre-commit/mirrors-prettier/compare/v3.1.0...v4.0.0-alpha.8) --- .pre-commit-config.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 92a595ab3..62f227c4f 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -10,7 +10,7 @@ repos: - id: double-quote-string-fixer - repo: https://github.com/psf/black - rev: 23.12.0 + rev: 23.12.1 hooks: - id: black @@ -20,7 +20,7 @@ repos: - id: blackdoc - repo: https://github.com/PyCQA/flake8 - rev: 6.1.0 + rev: 7.0.0 hooks: - id: flake8 @@ -34,7 +34,7 @@ repos: - id: isort - repo: https://github.com/pre-commit/mirrors-prettier - rev: v3.1.0 + rev: v4.0.0-alpha.8 hooks: - id: prettier From 2cf7834ae44a52a312b326b8bc3feb2d92698533 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 8 Jan 2024 21:15:47 +0000 Subject: [PATCH 2/4] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- .github/dependabot.yml | 6 +++--- .github/workflows/nightly-build.yaml | 2 +- .github/workflows/trigger-preview.yaml | 2 +- CITATION.cff | 4 ++-- _config.yml | 8 ++++---- core/xarray.md | 2 +- 6 files changed, 12 insertions(+), 12 deletions(-) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index b4b3fa44f..a0481954d 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -4,8 +4,8 @@ updates: # directory: "/" # schedule: # interval: daily - - package-ecosystem: 'github-actions' - directory: '/' + - package-ecosystem: "github-actions" + directory: "/" schedule: # Check for updates once a week - interval: 'weekly' + interval: "weekly" diff --git a/.github/workflows/nightly-build.yaml b/.github/workflows/nightly-build.yaml index a294afb17..0ce6b9241 100644 --- a/.github/workflows/nightly-build.yaml +++ b/.github/workflows/nightly-build.yaml @@ -3,7 +3,7 @@ name: nightly-build on: workflow_dispatch: schedule: - - cron: '0 0 * * *' # Daily “At 00:00” + - cron: "0 0 * * *" # Daily “At 00:00” jobs: build: diff --git a/.github/workflows/trigger-preview.yaml b/.github/workflows/trigger-preview.yaml index 76da9637e..ba78c8e79 100644 --- a/.github/workflows/trigger-preview.yaml +++ b/.github/workflows/trigger-preview.yaml @@ -17,7 +17,7 @@ jobs: with: artifact_name: book-zip-${{ needs.find-pull-request.outputs.number }} destination_dir: _preview/${{ needs.find-pull-request.outputs.number }} # deploy to subdirectory labeled with PR number - is_preview: 'true' + is_preview: "true" cname: foundations.projectpythia.org preview-comment: diff --git a/CITATION.cff b/CITATION.cff index b1429e19d..878cd6d0e 100644 --- a/CITATION.cff +++ b/CITATION.cff @@ -1,5 +1,5 @@ cff-version: 1.2.0 -message: 'If you use this resource, please cite it as below.' +message: "If you use this resource, please cite it as below." authors: - family-names: Rose given-names: Brian E. J. @@ -69,6 +69,6 @@ authors: orcid: https://orcid.org/0000-0002-2666-8493 website: https://github.com/anissa111 affiliation: UCAR/NCAR -title: 'Pythia Foundations' +title: "Pythia Foundations" version: v2023.05.01 doi: 10.5281/zenodo.7884571 diff --git a/_config.yml b/_config.yml index c840e2a65..68ae2d04e 100644 --- a/_config.yml +++ b/_config.yml @@ -5,7 +5,7 @@ title: Pythia Foundations author: the Project Pythia Community logo: images/logos/pythia_logo-white-rtext.svg email: projectpythia@ucar.edu -copyright: '2022' +copyright: "2022" exclude_patterns: - README.md @@ -91,14 +91,14 @@ sphinx: config: nb_execution_raise_on_error: true # raise exception in build if there are notebook errors (this flag is ignored if building on binder) linkcheck_request_headers: - 'https://docs.github.com/': + "https://docs.github.com/": User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:24.0) Gecko/20100101 Firefox/24.0 html_favicon: 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: '' html_theme_options: - google_analytics_id: 'G-G57FLM9M46' + google_analytics_id: "G-G57FLM9M46" home_page_in_toc: true repository_url: https://github.com/ProjectPythia/pythia-foundations # Online location of your book repository_branch: main # Which branch of the repository should be used when creating links (optional) diff --git a/core/xarray.md b/core/xarray.md index 77be7c8dd..27e827cc0 100644 --- a/core/xarray.md +++ b/core/xarray.md @@ -1,4 +1,4 @@ -![xarray Logo](https://docs.xarray.dev/en/stable/_static/Xarray_Logo_RGB_Final.svg 'xarray Logo') +![xarray Logo](https://docs.xarray.dev/en/stable/_static/Xarray_Logo_RGB_Final.svg "xarray Logo") # Xarray From 986f4a0d2f7c18372633c3e321771551e9e5bd3b Mon Sep 17 00:00:00 2001 From: Brian Rose Date: Tue, 9 Jan 2024 00:05:01 -0500 Subject: [PATCH 3/4] Update .pre-commit-config.yaml --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 62f227c4f..57608d0f4 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -34,7 +34,7 @@ repos: - id: isort - repo: https://github.com/pre-commit/mirrors-prettier - rev: v4.0.0-alpha.8 + rev: v3.1.0 hooks: - id: prettier From b023c115ebee4ef314fb56de4d2fd30c31bd7f2d Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Tue, 9 Jan 2024 05:05:13 +0000 Subject: [PATCH 4/4] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- .github/dependabot.yml | 6 +++--- .github/workflows/nightly-build.yaml | 2 +- .github/workflows/trigger-preview.yaml | 2 +- CITATION.cff | 4 ++-- _config.yml | 8 ++++---- core/xarray.md | 2 +- 6 files changed, 12 insertions(+), 12 deletions(-) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index a0481954d..b4b3fa44f 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -4,8 +4,8 @@ updates: # directory: "/" # schedule: # interval: daily - - package-ecosystem: "github-actions" - directory: "/" + - package-ecosystem: 'github-actions' + directory: '/' schedule: # Check for updates once a week - interval: "weekly" + interval: 'weekly' diff --git a/.github/workflows/nightly-build.yaml b/.github/workflows/nightly-build.yaml index 0ce6b9241..a294afb17 100644 --- a/.github/workflows/nightly-build.yaml +++ b/.github/workflows/nightly-build.yaml @@ -3,7 +3,7 @@ name: nightly-build on: workflow_dispatch: schedule: - - cron: "0 0 * * *" # Daily “At 00:00” + - cron: '0 0 * * *' # Daily “At 00:00” jobs: build: diff --git a/.github/workflows/trigger-preview.yaml b/.github/workflows/trigger-preview.yaml index ba78c8e79..76da9637e 100644 --- a/.github/workflows/trigger-preview.yaml +++ b/.github/workflows/trigger-preview.yaml @@ -17,7 +17,7 @@ jobs: with: artifact_name: book-zip-${{ needs.find-pull-request.outputs.number }} destination_dir: _preview/${{ needs.find-pull-request.outputs.number }} # deploy to subdirectory labeled with PR number - is_preview: "true" + is_preview: 'true' cname: foundations.projectpythia.org preview-comment: diff --git a/CITATION.cff b/CITATION.cff index 878cd6d0e..b1429e19d 100644 --- a/CITATION.cff +++ b/CITATION.cff @@ -1,5 +1,5 @@ cff-version: 1.2.0 -message: "If you use this resource, please cite it as below." +message: 'If you use this resource, please cite it as below.' authors: - family-names: Rose given-names: Brian E. J. @@ -69,6 +69,6 @@ authors: orcid: https://orcid.org/0000-0002-2666-8493 website: https://github.com/anissa111 affiliation: UCAR/NCAR -title: "Pythia Foundations" +title: 'Pythia Foundations' version: v2023.05.01 doi: 10.5281/zenodo.7884571 diff --git a/_config.yml b/_config.yml index 68ae2d04e..c840e2a65 100644 --- a/_config.yml +++ b/_config.yml @@ -5,7 +5,7 @@ title: Pythia Foundations author: the Project Pythia Community logo: images/logos/pythia_logo-white-rtext.svg email: projectpythia@ucar.edu -copyright: "2022" +copyright: '2022' exclude_patterns: - README.md @@ -91,14 +91,14 @@ sphinx: config: nb_execution_raise_on_error: true # raise exception in build if there are notebook errors (this flag is ignored if building on binder) linkcheck_request_headers: - "https://docs.github.com/": + 'https://docs.github.com/': User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:24.0) Gecko/20100101 Firefox/24.0 html_favicon: 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: '' html_theme_options: - google_analytics_id: "G-G57FLM9M46" + google_analytics_id: 'G-G57FLM9M46' home_page_in_toc: true repository_url: https://github.com/ProjectPythia/pythia-foundations # Online location of your book repository_branch: main # Which branch of the repository should be used when creating links (optional) diff --git a/core/xarray.md b/core/xarray.md index 27e827cc0..77be7c8dd 100644 --- a/core/xarray.md +++ b/core/xarray.md @@ -1,4 +1,4 @@ -![xarray Logo](https://docs.xarray.dev/en/stable/_static/Xarray_Logo_RGB_Final.svg "xarray Logo") +![xarray Logo](https://docs.xarray.dev/en/stable/_static/Xarray_Logo_RGB_Final.svg 'xarray Logo') # Xarray