Skip to content

Commit

Permalink
Merge branch 'main' into improve-documentation-for-evaluate-package
Browse files Browse the repository at this point in the history
  • Loading branch information
amrit110 committed Feb 9, 2024
2 parents 168b104 + b9f3876 commit 0b1e34d
Show file tree
Hide file tree
Showing 4 changed files with 1,616 additions and 1,566 deletions.
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ repos:
- id: black

- repo: https://github.com/charliermarsh/ruff-pre-commit
rev: 'v0.1.7'
rev: 'v0.2.1'
hooks:
- id: ruff
args: [--fix, --exit-non-zero-on-fix]
Expand All @@ -45,7 +45,7 @@ repos:
exclude: ^docs/source/tutorials/gemini/.*\.ipynb$

- repo: https://github.com/nbQA-dev/nbQA
rev: 1.7.0
rev: 1.7.1
hooks:
- id: nbqa-black
- id: nbqa-ruff
Expand Down
2 changes: 1 addition & 1 deletion cyclops/models/catalog.py
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ def create_model(
An instance of the model.
"""
model_class = _model_catalog.get(model_name, None)
model_class = _model_catalog.get(model_name)
if model_class is None:
if model_name == "xgb_classifier":
raise RuntimeError(_xgboost_unavailable_message)
Expand Down
Loading

0 comments on commit 0b1e34d

Please sign in to comment.