From f3a2c68b325a923b7de8a13bb07d1f00aead120f Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 9 Dec 2024 16:26:17 +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.6.0 → v5.0.0](https://github.com/pre-commit/pre-commit-hooks/compare/v4.6.0...v5.0.0) - [github.com/pappasam/toml-sort: v0.23.1 → v0.24.2](https://github.com/pappasam/toml-sort/compare/v0.23.1...v0.24.2) - [github.com/astral-sh/ruff-pre-commit: v0.4.3 → v0.8.2](https://github.com/astral-sh/ruff-pre-commit/compare/v0.4.3...v0.8.2) --- .pre-commit-config.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 9c4e8437..b30078e1 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -8,7 +8,7 @@ repos: - id: absolufy-imports name: absolufy-imports - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.6.0 + rev: v5.0.0 hooks: - id: trailing-whitespace language_version: python3 @@ -20,11 +20,11 @@ repos: - id: debug-statements language_version: python3 - repo: https://github.com/pappasam/toml-sort - rev: v0.23.1 + rev: v0.24.2 hooks: - id: toml-sort-fix - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.4.3 + rev: v0.8.2 hooks: - id: ruff args: [ --fix ] From 04b2f8d82fd605562180eea7f8ec18c01cdbe5b7 Mon Sep 17 00:00:00 2001 From: GitHub Actions Bot - API updater <> Date: Mon, 9 Dec 2024 16:27:31 +0000 Subject: [PATCH 2/2] MAINT: Update generated API --- src/icclim/_generated/_dcsc.py | 50 +++++++++--------- src/icclim/_generated/_ecad.py | 88 +++++++++++++++---------------- src/icclim/_generated/_generic.py | 30 +++++------ 3 files changed, 84 insertions(+), 84 deletions(-) diff --git a/src/icclim/_generated/_dcsc.py b/src/icclim/_generated/_dcsc.py index 4ada3435..33b71fb2 100644 --- a/src/icclim/_generated/_dcsc.py +++ b/src/icclim/_generated/_dcsc.py @@ -29,38 +29,38 @@ from icclim.logger import Verbosity __all__ = [ - "tav", - "txav", - "trav", - "tx10", - "tx90", - "tn10", - "tn90", - "tnfd", - "txfd", - "sd", - "tx35", - "tr", - "txnd", - "tnht", - "tnnd", - "tncwd", - "txhwd", - "hdd", "cdd", + "ff98", + "ffav", + "hdd", "pav", + "pfl90", "pint", - "rr", - "rr1mm", "pn20mm", + "pq90", + "pq99", "pxcdd", "pxcwd", "r99", - "pfl90", - "pq90", - "pq99", - "ffav", - "ff98", + "rr", + "rr1mm", + "sd", + "tav", + "tn10", + "tn90", + "tncwd", + "tnfd", + "tnht", + "tnnd", + "tr", + "trav", + "tx10", + "tx35", + "tx90", + "txav", + "txfd", + "txhwd", + "txnd", ] diff --git a/src/icclim/_generated/_ecad.py b/src/icclim/_generated/_ecad.py index a77b723d..d3c85b44 100644 --- a/src/icclim/_generated/_ecad.py +++ b/src/icclim/_generated/_ecad.py @@ -28,70 +28,70 @@ from icclim.logger import Verbosity __all__ = [ - "tg", - "tn", - "tx", + "cd", + "cdd", + "cfd", + "csdi", + "csu", + "cw", + "cwd", + "ddeast", + "ddnorth", + "ddsouth", + "ddwest", "dtr", "etr", - "vdtr", - "su", - "tr", - "wsdi", - "tg90p", - "tn90p", - "tx90p", - "txx", - "tnx", - "csu", - "gd4", "fd", - "cfd", + "fg", + "fg6bft", + "fgcalm", + "fxx", + "gd4", + "gsl", "hd17", "id", - "tg10p", - "tn10p", - "tx10p", - "txn", - "tnn", - "csdi", - "cdd", + "pp", "prcptot", - "rr1", - "sdii", - "cwd", - "rr", "r10mm", "r20mm", - "rx1day", - "rx5day", "r75p", "r75ptot", "r95p", "r95ptot", "r99p", "r99ptot", + "rh", + "rr", + "rr1", + "rx1day", + "rx5day", "sd", "sd1", "sd5cm", "sd50cm", - "cd", - "cw", - "wd", - "ww", - "fxx", - "fg6bft", - "fgcalm", - "fg", - "ddnorth", - "ddeast", - "ddsouth", - "ddwest", - "gsl", - "spi6", + "sdii", "spi3", - "pp", + "spi6", "ss", - "rh", + "su", + "tg", + "tg10p", + "tg90p", + "tn", + "tn10p", + "tn90p", + "tnn", + "tnx", + "tr", + "tx", + "tx10p", + "tx90p", + "txn", + "txx", + "vdtr", + "wd", + "wsdi", + "ww", ] diff --git a/src/icclim/_generated/_generic.py b/src/icclim/_generated/_generic.py index 93fd9df2..3cf14fc6 100644 --- a/src/icclim/_generated/_generic.py +++ b/src/icclim/_generated/_generic.py @@ -29,27 +29,27 @@ from icclim.logger import Verbosity __all__ = [ + "average", "count_occurrences", - "max_consecutive_occurrence", - "sum_of_spell_lengths", - "excess", + "custom_index", "deficit", + "difference_of_extremes", + "difference_of_means", + "excess", "fraction_of_total", - "maximum", - "minimum", - "average", - "sum", - "standard_deviation", - "max_of_rolling_sum", - "min_of_rolling_sum", + "max_consecutive_occurrence", "max_of_rolling_average", - "min_of_rolling_average", - "mean_of_difference", - "difference_of_extremes", + "max_of_rolling_sum", + "maximum", "mean_of_absolute_one_time_step_difference", - "difference_of_means", + "mean_of_difference", + "min_of_rolling_average", + "min_of_rolling_sum", + "minimum", "percentile", - "custom_index", + "standard_deviation", + "sum", + "sum_of_spell_lengths", ]