Skip to content

Commit

Permalink
[pre-commit.ci] pre-commit autoupdate (#183)
Browse files Browse the repository at this point in the history
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
pre-commit-ci[bot] authored Mar 1, 2024
1 parent 3352dfe commit 9c3e08f
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 22 deletions.
18 changes: 9 additions & 9 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ ci:

repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
rev: v4.5.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
Expand All @@ -14,41 +14,41 @@ repos:
- id: mixed-line-ending

- repo: https://github.com/asottile/pyupgrade
rev: v3.8.0
rev: v3.15.0
hooks:
- id: pyupgrade
args:
- '--py38-plus'

- repo: https://github.com/psf/black
rev: 23.3.0
rev: 24.1.1
hooks:
- id: black
- id: black-jupyter

- repo: https://github.com/keewis/blackdoc
rev: v0.3.8
rev: v0.3.9
hooks:
- id: blackdoc

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: 'v0.0.276'
rev: 'v0.2.0'
hooks:
- id: ruff
args: ['--fix']

- repo: https://github.com/pre-commit/mirrors-prettier
rev: v3.0.0-alpha.9-for-vscode
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

- repo: https://github.com/pre-commit/mirrors-prettier
rev: 'v3.0.3'
rev: 'v4.0.0-alpha.8'
hooks:
- id: prettier
files: "\\.(\
Expand All @@ -63,7 +63,7 @@ repos:
)$"

- repo: https://github.com/pre-commit/mirrors-prettier
rev: 'v3.0.3'
rev: 'v4.0.0-alpha.8'
hooks:
- id: prettier
name: prettier-markdown
Expand Down
6 changes: 3 additions & 3 deletions scripts/nftd/01_nftd_to_cogs.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,9 @@
"outputs": [],
"source": [
"dst_profile = cog_profiles.get(\"deflate\")\n",
"os.environ[\n",
" \"GOOGLE_APPLICATION_CREDENTIALS\"\n",
"] = \"/Users/freeman/.config/gcloud/legacy_credentials/[email protected]/adc.json\"\n",
"os.environ[\"GOOGLE_APPLICATION_CREDENTIALS\"] = (\n",
" \"/Users/freeman/.config/gcloud/legacy_credentials/[email protected]/adc.json\"\n",
")\n",
"\n",
"\n",
"def upload(src, target, bucket=\"carbonplan-data\"):\n",
Expand Down
6 changes: 3 additions & 3 deletions scripts/nlcd/01_nlcd_to_cogs.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,9 @@
"source": [
"# This is the COG profile:\n",
"dst_profile = cog_profiles.get(\"deflate\")\n",
"os.environ[\n",
" \"GOOGLE_APPLICATION_CREDENTIALS\"\n",
"] = \"/Users/freeman/.config/gcloud/legacy_credentials/[email protected]/adc.json\"\n",
"os.environ[\"GOOGLE_APPLICATION_CREDENTIALS\"] = (\n",
" \"/Users/freeman/.config/gcloud/legacy_credentials/[email protected]/adc.json\"\n",
")\n",
"\n",
"\n",
"def upload(src, target, bucket=\"carbonplan-data\"):\n",
Expand Down
14 changes: 7 additions & 7 deletions scripts/worldclim/01_raw_to_zarr.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"cells": [
{
"cell_type": "markdown",
"id": "laden-anger",
"id": "0",
"metadata": {},
"source": [
"- https://www.worldclim.org/data/worldclim21.html\n",
Expand All @@ -16,7 +16,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "owned-raleigh",
"id": "1",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -28,7 +28,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "accurate-daily",
"id": "2",
"metadata": {},
"outputs": [],
"source": [
Expand Down Expand Up @@ -56,7 +56,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "accessible-excerpt",
"id": "3",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -66,7 +66,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "boring-fundamental",
"id": "4",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -79,7 +79,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "lyric-brazilian",
"id": "5",
"metadata": {},
"outputs": [],
"source": [
Expand Down Expand Up @@ -117,7 +117,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "surface-filling",
"id": "6",
"metadata": {},
"outputs": [],
"source": [
Expand Down

0 comments on commit 9c3e08f

Please sign in to comment.