From d0f707612e670cf5eb4d4b659a1a41969a0d410d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Guti=C3=A9rrez?= Date: Fri, 3 Jul 2026 09:51:32 +0200 Subject: [PATCH 1/4] chroe(docs): removes pages push trigger --- .github/workflows/docs.yml | 8 -------- 1 file changed, 8 deletions(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 7a32d50..faed982 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -1,14 +1,6 @@ name: Deploy Docs on: - push: - branches: - - main - paths: - - 'docs/**' - - 'openmodels/**' - - 'pyproject.toml' - - '.github/workflows/docs.yml' workflow_dispatch: permissions: From 9370dfe9d9fdb8b73b9047543b077ddca3dd2489 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Guti=C3=A9rrez?= Date: Fri, 3 Jul 2026 10:44:08 +0200 Subject: [PATCH 2/4] update: update poetry-types --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 57a8136..3dc77bb 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -13,7 +13,7 @@ python = ">=3.10,<4.0" scikit-learn = "^1.6.0" [tool.poetry.group.dev.dependencies] -poetry-types = "^0.5.1" +poetry-types = "^0.6.2" mypy = "^1.10.0" pytest = "^8.2.2" pre-commit = "^3.7.1" From 587813164994c5ad26c9d04ecd4153c9d2ca4a60 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Guti=C3=A9rrez?= Date: Fri, 3 Jul 2026 12:10:13 +0200 Subject: [PATCH 3/4] update: update black --- openmodels/serializers/sklearn/_custom_estimator.py | 2 +- openmodels/test_helpers.py | 2 +- pyproject.toml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/openmodels/serializers/sklearn/_custom_estimator.py b/openmodels/serializers/sklearn/_custom_estimator.py index 0657f7d..91a7579 100644 --- a/openmodels/serializers/sklearn/_custom_estimator.py +++ b/openmodels/serializers/sklearn/_custom_estimator.py @@ -19,7 +19,7 @@ def is_valid_estimator(name: str, cls: Any) -> bool: def normalize_estimators( - estimators: Union[Callable[..., Any], List[Any], Tuple[Any, ...], Dict[str, Any]] + estimators: Union[Callable[..., Any], List[Any], Tuple[Any, ...], Dict[str, Any]], ) -> List[Any]: """Normalize input into a flat list of estimators or (name, class) items.""" if not isinstance(estimators, (list, tuple, set)): diff --git a/openmodels/test_helpers.py b/openmodels/test_helpers.py index bbd03d6..254ce2d 100644 --- a/openmodels/test_helpers.py +++ b/openmodels/test_helpers.py @@ -47,7 +47,7 @@ def fit( def ensure_correct_sparse_format( - x: Union[np.ndarray, csr_matrix] + x: Union[np.ndarray, csr_matrix], ) -> Union[np.ndarray, csr_matrix]: """ Ensure the input data is in the correct format for SVM models. diff --git a/pyproject.toml b/pyproject.toml index 3dc77bb..dd2f282 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -17,7 +17,7 @@ poetry-types = "^0.6.2" mypy = "^1.10.0" pytest = "^8.2.2" pre-commit = "^3.7.1" -black = "^24.4.2" +black = "^26.3.1" flake8 = "^7.1.1" pytest-cov = "^7.0.0" From 235092023767abced2d10c850e7ac38246bbb36b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Guti=C3=A9rrez?= Date: Fri, 3 Jul 2026 12:33:40 +0200 Subject: [PATCH 4/4] update: update pytest --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index dd2f282..7153574 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -15,7 +15,7 @@ scikit-learn = "^1.6.0" [tool.poetry.group.dev.dependencies] poetry-types = "^0.6.2" mypy = "^1.10.0" -pytest = "^8.2.2" +pytest = "^9.0.3" pre-commit = "^3.7.1" black = "^26.3.1" flake8 = "^7.1.1"