Skip to content

Commit dbb8a63

Browse files
committed
Update to pillow 10.0 which has important security fixes
1 parent 89b436f commit dbb8a63

File tree

4 files changed

+162
-129
lines changed

4 files changed

+162
-129
lines changed

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ repos:
2121
- id: black
2222

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

4747
- repo: https://github.com/nbQA-dev/nbQA
48-
rev: 1.7.0
48+
rev: 1.7.1
4949
hooks:
5050
- id: nbqa-black
5151
- id: nbqa-ruff

cyclops/models/catalog.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ def create_model(
218218
An instance of the model.
219219
220220
"""
221-
model_class = _model_catalog.get(model_name, None)
221+
model_class = _model_catalog.get(model_name)
222222
if model_class is None:
223223
if model_name == "xgb_classifier":
224224
raise RuntimeError(_xgboost_unavailable_message)

0 commit comments

Comments
 (0)