Skip to content

Commit 9c3e08f

Browse files
[pre-commit.ci] pre-commit autoupdate (#183)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent 3352dfe commit 9c3e08f

File tree

4 files changed

+22
-22
lines changed

4 files changed

+22
-22
lines changed

.pre-commit-config.yaml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ ci:
33

44
repos:
55
- repo: https://github.com/pre-commit/pre-commit-hooks
6-
rev: v4.4.0
6+
rev: v4.5.0
77
hooks:
88
- id: trailing-whitespace
99
- id: end-of-file-fixer
@@ -14,41 +14,41 @@ repos:
1414
- id: mixed-line-ending
1515

1616
- repo: https://github.com/asottile/pyupgrade
17-
rev: v3.8.0
17+
rev: v3.15.0
1818
hooks:
1919
- id: pyupgrade
2020
args:
2121
- '--py38-plus'
2222

2323
- repo: https://github.com/psf/black
24-
rev: 23.3.0
24+
rev: 24.1.1
2525
hooks:
2626
- id: black
2727
- id: black-jupyter
2828

2929
- repo: https://github.com/keewis/blackdoc
30-
rev: v0.3.8
30+
rev: v0.3.9
3131
hooks:
3232
- id: blackdoc
3333

3434
- repo: https://github.com/astral-sh/ruff-pre-commit
35-
rev: 'v0.0.276'
35+
rev: 'v0.2.0'
3636
hooks:
3737
- id: ruff
3838
args: ['--fix']
3939

4040
- repo: https://github.com/pre-commit/mirrors-prettier
41-
rev: v3.0.0-alpha.9-for-vscode
41+
rev: v4.0.0-alpha.8
4242
hooks:
4343
- id: prettier
4444

4545
- repo: https://github.com/kynan/nbstripout
46-
rev: 0.6.1
46+
rev: 0.7.1
4747
hooks:
4848
- id: nbstripout
4949

5050
- repo: https://github.com/pre-commit/mirrors-prettier
51-
rev: 'v3.0.3'
51+
rev: 'v4.0.0-alpha.8'
5252
hooks:
5353
- id: prettier
5454
files: "\\.(\
@@ -63,7 +63,7 @@ repos:
6363
)$"
6464

6565
- repo: https://github.com/pre-commit/mirrors-prettier
66-
rev: 'v3.0.3'
66+
rev: 'v4.0.0-alpha.8'
6767
hooks:
6868
- id: prettier
6969
name: prettier-markdown

scripts/nftd/01_nftd_to_cogs.ipynb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,9 @@
5959
"outputs": [],
6060
"source": [
6161
"dst_profile = cog_profiles.get(\"deflate\")\n",
62-
"os.environ[\n",
63-
" \"GOOGLE_APPLICATION_CREDENTIALS\"\n",
64-
"] = \"/Users/freeman/.config/gcloud/legacy_credentials/jeremy@carbonplan.org/adc.json\"\n",
62+
"os.environ[\"GOOGLE_APPLICATION_CREDENTIALS\"] = (\n",
63+
" \"/Users/freeman/.config/gcloud/legacy_credentials/jeremy@carbonplan.org/adc.json\"\n",
64+
")\n",
6565
"\n",
6666
"\n",
6767
"def upload(src, target, bucket=\"carbonplan-data\"):\n",

scripts/nlcd/01_nlcd_to_cogs.ipynb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,9 @@
5555
"source": [
5656
"# This is the COG profile:\n",
5757
"dst_profile = cog_profiles.get(\"deflate\")\n",
58-
"os.environ[\n",
59-
" \"GOOGLE_APPLICATION_CREDENTIALS\"\n",
60-
"] = \"/Users/freeman/.config/gcloud/legacy_credentials/jeremy@carbonplan.org/adc.json\"\n",
58+
"os.environ[\"GOOGLE_APPLICATION_CREDENTIALS\"] = (\n",
59+
" \"/Users/freeman/.config/gcloud/legacy_credentials/jeremy@carbonplan.org/adc.json\"\n",
60+
")\n",
6161
"\n",
6262
"\n",
6363
"def upload(src, target, bucket=\"carbonplan-data\"):\n",

scripts/worldclim/01_raw_to_zarr.ipynb

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"cells": [
33
{
44
"cell_type": "markdown",
5-
"id": "laden-anger",
5+
"id": "0",
66
"metadata": {},
77
"source": [
88
"- https://www.worldclim.org/data/worldclim21.html\n",
@@ -16,7 +16,7 @@
1616
{
1717
"cell_type": "code",
1818
"execution_count": null,
19-
"id": "owned-raleigh",
19+
"id": "1",
2020
"metadata": {},
2121
"outputs": [],
2222
"source": [
@@ -28,7 +28,7 @@
2828
{
2929
"cell_type": "code",
3030
"execution_count": null,
31-
"id": "accurate-daily",
31+
"id": "2",
3232
"metadata": {},
3333
"outputs": [],
3434
"source": [
@@ -56,7 +56,7 @@
5656
{
5757
"cell_type": "code",
5858
"execution_count": null,
59-
"id": "accessible-excerpt",
59+
"id": "3",
6060
"metadata": {},
6161
"outputs": [],
6262
"source": [
@@ -66,7 +66,7 @@
6666
{
6767
"cell_type": "code",
6868
"execution_count": null,
69-
"id": "boring-fundamental",
69+
"id": "4",
7070
"metadata": {},
7171
"outputs": [],
7272
"source": [
@@ -79,7 +79,7 @@
7979
{
8080
"cell_type": "code",
8181
"execution_count": null,
82-
"id": "lyric-brazilian",
82+
"id": "5",
8383
"metadata": {},
8484
"outputs": [],
8585
"source": [
@@ -117,7 +117,7 @@
117117
{
118118
"cell_type": "code",
119119
"execution_count": null,
120-
"id": "surface-filling",
120+
"id": "6",
121121
"metadata": {},
122122
"outputs": [],
123123
"source": [

0 commit comments

Comments
 (0)