From 26efb4a652ca8e385e2f84dd477a190a2cc34147 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 17 Jun 2024 23:09:51 +0000 Subject: [PATCH 1/2] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/pre-commit/pre-commit-hooks: v4.5.0 → v4.6.0](https://github.com/pre-commit/pre-commit-hooks/compare/v4.5.0...v4.6.0) - [github.com/psf/black: 23.12.1 → 24.4.2](https://github.com/psf/black/compare/23.12.1...24.4.2) - [github.com/PyCQA/flake8: 7.0.0 → 7.1.0](https://github.com/PyCQA/flake8/compare/7.0.0...7.1.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) - [github.com/nbQA-dev/nbQA: 1.7.1 → 1.8.5](https://github.com/nbQA-dev/nbQA/compare/1.7.1...1.8.5) --- .pre-commit-config.yaml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 57608d0f4..33251ba91 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,6 +1,6 @@ repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.5.0 + rev: v4.6.0 hooks: - id: trailing-whitespace - id: end-of-file-fixer @@ -10,7 +10,7 @@ repos: - id: double-quote-string-fixer - repo: https://github.com/psf/black - rev: 23.12.1 + rev: 24.4.2 hooks: - id: black @@ -20,7 +20,7 @@ repos: - id: blackdoc - repo: https://github.com/PyCQA/flake8 - rev: 7.0.0 + rev: 7.1.0 hooks: - id: flake8 @@ -34,12 +34,12 @@ repos: - id: isort - repo: https://github.com/pre-commit/mirrors-prettier - rev: v3.1.0 + rev: v4.0.0-alpha.8 hooks: - id: prettier - repo: https://github.com/nbQA-dev/nbQA - rev: 1.7.1 + rev: 1.8.5 hooks: - id: nbqa-black additional_dependencies: [black] From 101cc5669a92c78a1e1467787a457b5f673716c6 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 17 Jun 2024 23:10:39 +0000 Subject: [PATCH 2/2] [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 fabae92c4..a5c38a794 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: '2024' +copyright: "2024" exclude_patterns: - README.md @@ -91,15 +91,15 @@ 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: analytics: - 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