diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index db0b06e..8195ede 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,26 +1,26 @@ -default_stages: [commit] +default_stages: [pre-commit] repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.0.1 + rev: v5.0.0 hooks: - id: trailing-whitespace - id: end-of-file-fixer - id: check-yaml - repo: https://github.com/commitizen-tools/commitizen - rev: v2.37.0 + rev: v4.1.0 hooks: - id: commitizen - repo: https://github.com/adrienverge/yamllint.git - rev: v1.26.3 + rev: v1.35.1 hooks: - id: yamllint args: ["-d relaxed"] - repo: https://github.com/executablebooks/mdformat - rev: 0.7.14 # Use the ref you want to point at + rev: 0.7.21 # Use the ref you want to point at hooks: - id: mdformat # Optionally add plugins @@ -29,38 +29,38 @@ repos: - mdformat-black - repo: https://github.com/python-jsonschema/check-jsonschema - rev: 0.18.4 + rev: 0.30.0 hooks: - id: check-github-workflows - repo: https://github.com/asottile/pyupgrade - rev: v2.37.2 + rev: v3.19.1 hooks: - id: pyupgrade - repo: https://github.com/psf/black - rev: 22.6.0 + rev: 24.10.0 hooks: - id: black - - repo: https://github.com/charliermarsh/ruff-pre-commit - rev: v0.0.225 + - repo: https://github.com/astral-sh/ruff-pre-commit + rev: v0.8.6 hooks: - id: ruff - repo: https://github.com/kynan/nbstripout - rev: 0.5.0 + rev: 0.8.1 hooks: - id: nbstripout args: ["--keep-output"] - repo: https://github.com/nbQA-dev/nbQA - rev: 1.6.1 + rev: 1.9.1 hooks: - id: nbqa-black - id: nbqa-ruff - repo: https://github.com/snakemake/snakefmt - rev: v0.6.0 + rev: v0.10.2 hooks: - id: snakefmt diff --git a/notebooks/01-spatial-extent.ipynb b/notebooks/01-spatial-extent.ipynb index 4e04115..205ed6e 100644 --- a/notebooks/01-spatial-extent.ipynb +++ b/notebooks/01-spatial-extent.ipynb @@ -2,7 +2,7 @@ "cells": [ { "cell_type": "markdown", - "id": "ded8c4e1", + "id": "0", "metadata": {}, "source": [ "# Spatial extent" @@ -11,7 +11,7 @@ { "cell_type": "code", "execution_count": null, - "id": "9501fba6", + "id": "1", "metadata": {}, "outputs": [], "source": [ @@ -22,7 +22,7 @@ { "cell_type": "code", "execution_count": null, - "id": "5fe50dce", + "id": "2", "metadata": { "tags": [ "parameters" @@ -41,7 +41,7 @@ { "cell_type": "code", "execution_count": null, - "id": "b926c6cc", + "id": "3", "metadata": {}, "outputs": [ { @@ -67,7 +67,7 @@ { "cell_type": "code", "execution_count": null, - "id": "8ed2e55a", + "id": "4", "metadata": {}, "outputs": [], "source": [ diff --git a/notebooks/02-ndvi-raster.ipynb b/notebooks/02-ndvi-raster.ipynb index f4a67e5..3a64e38 100644 --- a/notebooks/02-ndvi-raster.ipynb +++ b/notebooks/02-ndvi-raster.ipynb @@ -2,7 +2,7 @@ "cells": [ { "cell_type": "markdown", - "id": "6219ce8d", + "id": "0", "metadata": {}, "source": [ "# NDVI\n", @@ -14,7 +14,7 @@ { "cell_type": "code", "execution_count": null, - "id": "9550dbcb", + "id": "1", "metadata": {}, "outputs": [], "source": [ @@ -27,7 +27,7 @@ { "cell_type": "code", "execution_count": null, - "id": "5287915f", + "id": "2", "metadata": { "tags": [ "parameters" @@ -47,7 +47,7 @@ { "cell_type": "code", "execution_count": null, - "id": "7e9e8066", + "id": "3", "metadata": {}, "outputs": [], "source": [ @@ -58,7 +58,7 @@ { "cell_type": "code", "execution_count": null, - "id": "fe6f8498", + "id": "4", "metadata": {}, "outputs": [], "source": [ @@ -76,7 +76,7 @@ { "cell_type": "code", "execution_count": null, - "id": "8a4f41d6", + "id": "5", "metadata": {}, "outputs": [], "source": [ @@ -89,7 +89,7 @@ { "cell_type": "code", "execution_count": null, - "id": "cf92e268", + "id": "6", "metadata": {}, "outputs": [], "source": [ @@ -100,7 +100,7 @@ { "cell_type": "code", "execution_count": null, - "id": "d8ec66fa", + "id": "7", "metadata": {}, "outputs": [ { @@ -816,7 +816,7 @@ { "cell_type": "code", "execution_count": null, - "id": "14e87d15", + "id": "8", "metadata": {}, "outputs": [ { @@ -1418,7 +1418,7 @@ { "cell_type": "code", "execution_count": null, - "id": "a043d0a3", + "id": "9", "metadata": {}, "outputs": [ { @@ -1918,7 +1918,7 @@ { "cell_type": "code", "execution_count": null, - "id": "cb13d981", + "id": "10", "metadata": {}, "outputs": [ { @@ -1951,7 +1951,7 @@ { "cell_type": "code", "execution_count": null, - "id": "7e81ead3", + "id": "11", "metadata": {}, "outputs": [], "source": [