Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 0 additions & 8 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,6 @@
name: Deploy Docs

on:
push:
branches:
- main
paths:
- 'docs/**'
- 'openmodels/**'
- 'pyproject.toml'
- '.github/workflows/docs.yml'
workflow_dispatch:

permissions:
Expand Down
2 changes: 1 addition & 1 deletion openmodels/serializers/sklearn/_custom_estimator.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)):
Expand Down
2 changes: 1 addition & 1 deletion openmodels/test_helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
6 changes: 3 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ 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"
pytest = "^9.0.3"
pre-commit = "^3.7.1"
black = "^24.4.2"
black = "^26.3.1"
flake8 = "^7.1.1"
pytest-cov = "^7.0.0"

Expand Down