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 ] 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 c4f20c7..e179149 100644 --- a/primap2/csg/__init__.py +++ b/primap2/csg/__init__.py @@ -20,14 +20,14 @@ from ._wrapper import create_composite_source, set_priority_coords __all__ = [ - "compose", + "FitParameters", + "GlobalLSStrategy", + "LocalTrendsStrategy", "PriorityDefinition", "StrategyDefinition", - "SubstitutionStrategy", - "LocalTrendsStrategy", "StrategyUnableToProcess", - "GlobalLSStrategy", + "SubstitutionStrategy", + "compose", "create_composite_source", "set_priority_coords", - "FitParameters", ] 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", ]