Skip to content

Commit

Permalink
[pre-commit.ci] pre-commit autoupdate (#350)
Browse files Browse the repository at this point in the history
* [pre-commit.ci] pre-commit autoupdate

updates:
- [github.com/astral-sh/ruff-pre-commit: v0.1.9 → v0.3.5](astral-sh/ruff-pre-commit@v0.1.9...v0.3.5)
- [github.com/psf/black-pre-commit-mirror: 23.12.1 → 24.3.0](psf/black-pre-commit-mirror@23.12.1...24.3.0)
- [github.com/nbQA-dev/nbQA: 1.7.1 → 1.8.5](nbQA-dev/nbQA@1.7.1...1.8.5)
- [github.com/kynan/nbstripout: 0.6.1 → 0.7.1](kynan/nbstripout@0.6.1...0.7.1)
- [github.com/abravalheri/validate-pyproject: v0.15 → v0.16](abravalheri/validate-pyproject@v0.15...v0.16)
- [github.com/rhysd/actionlint: v1.6.26 → v1.6.27](rhysd/actionlint@v1.6.26...v1.6.27)

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
pre-commit-ci[bot] authored Apr 24, 2024
1 parent 90393df commit a7e36f3
Show file tree
Hide file tree
Showing 7 changed files with 93 additions and 98 deletions.
12 changes: 6 additions & 6 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ ci:
repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
# Ruff version.
rev: "v0.1.9"
rev: "v0.3.5"
hooks:
- id: ruff
args: ["--fix", "--show-fixes"]
Expand All @@ -23,7 +23,7 @@ repos:
- id: check-docstring-first

- repo: https://github.com/psf/black-pre-commit-mirror
rev: 23.12.1
rev: 24.3.0
hooks:
- id: black

Expand All @@ -36,14 +36,14 @@ repos:
- mdformat-myst

- repo: https://github.com/nbQA-dev/nbQA
rev: 1.7.1
rev: 1.8.5
hooks:
- id: nbqa-black
- id: nbqa-ruff
args: [--fix]

- 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]
Expand All @@ -56,12 +56,12 @@ repos:
- tomli

- repo: https://github.com/abravalheri/validate-pyproject
rev: v0.15
rev: v0.16
hooks:
- id: validate-pyproject

- repo: https://github.com/rhysd/actionlint
rev: v1.6.26
rev: v1.6.27
hooks:
- id: actionlint
files: ".github/workflows/"
Expand Down
24 changes: 12 additions & 12 deletions docs/source/user-stories/climatology-hourly.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"cells": [
{
"cell_type": "markdown",
"id": "84e8bbee-90cc-4e6a-bf89-c56dc19c11ca",
"id": "0",
"metadata": {},
"source": [
"# More climatology reductions\n",
Expand All @@ -26,7 +26,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "727f490e-906a-4537-ac5e-3c67985cd6d5",
"id": "1",
"metadata": {},
"outputs": [
{
Expand Down Expand Up @@ -73,7 +73,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "6085684f-cafa-450c-8448-d5c9c1cbb55f",
"id": "2",
"metadata": {},
"outputs": [
{
Expand All @@ -98,7 +98,7 @@
},
{
"cell_type": "markdown",
"id": "5380714a-b35f-4fb0-8b3d-7528ef7a7595",
"id": "3",
"metadata": {},
"source": [
"## Create data\n"
Expand All @@ -107,7 +107,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "2aa66559-b2dd-4b46-b32b-f1ce2270c3de",
"id": "4",
"metadata": {},
"outputs": [
{
Expand Down Expand Up @@ -636,7 +636,7 @@
},
{
"cell_type": "markdown",
"id": "3a350782-b747-4e5e-8b8b-15fab72c0d2c",
"id": "5",
"metadata": {},
"source": [
"Here's just plain xarray: 10000 tasks and one chunk per hour in the output\n"
Expand All @@ -645,7 +645,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "ecc77698-5879-4b7c-ad97-891fb104d295",
"id": "6",
"metadata": {},
"outputs": [
{
Expand Down Expand Up @@ -1173,7 +1173,7 @@
},
{
"cell_type": "markdown",
"id": "beccd9f8-ad62-4cd8-86cc-acfe14f13023",
"id": "7",
"metadata": {},
"source": [
"And flox: 600 tasks and all hours in a single chunk\n"
Expand All @@ -1182,7 +1182,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "0a3da8e5-863a-4602-9176-0a9adc689563",
"id": "8",
"metadata": {},
"outputs": [
{
Expand Down Expand Up @@ -1676,15 +1676,15 @@
{
"cell_type": "code",
"execution_count": null,
"id": "8aa1a641-1ce1-4264-96dc-d11bb1d4ab57",
"id": "9",
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
"id": "e37c5aa2-c77a-4d87-8db4-5052c675c42d",
"id": "10",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -1694,7 +1694,7 @@
},
{
"cell_type": "markdown",
"id": "494766c2-305a-4518-b2b7-a85bcc7fd5b2",
"id": "11",
"metadata": {},
"source": [
"View the performance report\n",
Expand Down
Loading

0 comments on commit a7e36f3

Please sign in to comment.