Skip to content

Commit

Permalink
fix (#842)
Browse files Browse the repository at this point in the history
  • Loading branch information
juanitorduz authored and twiecki committed Sep 10, 2024
1 parent ba5fa02 commit b75bd10
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ repos:
- --exclude=docs/
- --exclude=scripts/
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.5.1
rev: v0.5.3
hooks:
- id: ruff
types_or: [ python, pyi, jupyter ]
Expand Down
2 changes: 1 addition & 1 deletion tests/test_model_builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ def test_predict(fitted_model_instance):
prediction_data = pd.DataFrame({"input": x_pred})
pred = fitted_model_instance.predict(prediction_data)
# Perform elementwise comparison using numpy
assert type(pred) == np.ndarray
assert isinstance(pred, np.ndarray)
assert len(pred) > 0


Expand Down

0 comments on commit b75bd10

Please sign in to comment.