From 6819979e3b0e1fdc14262a9abbdcc7d4604beb62 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 25 Nov 2024 20:21:04 +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/astral-sh/ruff-pre-commit: v0.7.4 → v0.8.0](https://github.com/astral-sh/ruff-pre-commit/compare/v0.7.4...v0.8.0) --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index e78be8b..8aa3712 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -15,7 +15,7 @@ repos: - id: detect-private-key - id: mixed-line-ending - repo: https://github.com/astral-sh/ruff-pre-commit - rev: 'v0.7.4' + rev: 'v0.8.0' hooks: - id: ruff args: [ --fix, --exit-non-zero-on-fix ] From 8e47fe03d29ba7f843cf16539a46184bd6bbf772 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 25 Nov 2024 20:21:12 +0000 Subject: [PATCH 2/2] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- primap2/__init__.py | 8 ++++---- primap2/csg/__init__.py | 6 +++--- primap2/pm2io/__init__.py | 8 ++++---- 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/primap2/__init__.py b/primap2/__init__.py index 0395379..e1c88e7 100644 --- a/primap2/__init__.py +++ b/primap2/__init__.py @@ -26,11 +26,11 @@ ) __all__ = [ + "Not", + "ProcessingStepDescription", + "TimeseriesProcessingDescription", "accessors", "open_dataset", - "ureg", "pm2io", - "ProcessingStepDescription", - "TimeseriesProcessingDescription", - "Not", + "ureg", ] diff --git a/primap2/csg/__init__.py b/primap2/csg/__init__.py index 94beb4a..8610cc7 100644 --- a/primap2/csg/__init__.py +++ b/primap2/csg/__init__.py @@ -15,10 +15,10 @@ from ._strategies.substitution import SubstitutionStrategy __all__ = [ - "compose", + "GlobalLSStrategy", "PriorityDefinition", "StrategyDefinition", - "SubstitutionStrategy", "StrategyUnableToProcess", - "GlobalLSStrategy", + "SubstitutionStrategy", + "compose", ] diff --git a/primap2/pm2io/__init__.py b/primap2/pm2io/__init__.py index 1be362b..73c7f87 100644 --- a/primap2/pm2io/__init__.py +++ b/primap2/pm2io/__init__.py @@ -14,13 +14,13 @@ ) __all__ = [ - "read_long_csv_file_if", - "read_wide_csv_file_if", "convert_long_dataframe_if", "convert_wide_dataframe_if", "from_interchange_format", + "nir_add_unit_information", + "nir_convert_df_to_long", "read_interchange_format", + "read_long_csv_file_if", + "read_wide_csv_file_if", "write_interchange_format", - "nir_convert_df_to_long", - "nir_add_unit_information", ]