Skip to content

Commit 6619076

Browse files
authored
fix (#842)
1 parent 6049ae8 commit 6619076

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ repos:
1111
- --exclude=docs/
1212
- --exclude=scripts/
1313
- repo: https://github.com/astral-sh/ruff-pre-commit
14-
rev: v0.5.1
14+
rev: v0.5.3
1515
hooks:
1616
- id: ruff
1717
types_or: [ python, pyi, jupyter ]

tests/test_model_builder.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ def test_predict(fitted_model_instance):
258258
prediction_data = pd.DataFrame({"input": x_pred})
259259
pred = fitted_model_instance.predict(prediction_data)
260260
# Perform elementwise comparison using numpy
261-
assert type(pred) == np.ndarray
261+
assert isinstance(pred, np.ndarray)
262262
assert len(pred) > 0
263263

264264

0 commit comments

Comments
 (0)