Skip to content

Commit c97c218

Browse files
YJ Shizxybazh
authored andcommitted
fix mypy
1 parent e6a593d commit c97c218

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/tvm/meta_schedule/cost_model/xgb_model.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ def optional_xgboost_callback(XGBoostCustomCallback):
4646
class TrainingCallback: # type: ignore
4747
pass
4848

49-
class OptXGBoostCustomCallback(XGBoostCustomCallback, TrainingCallback):
49+
class OptXGBoostCustomCallback(XGBoostCustomCallback, TrainingCallback): # type: ignore
5050
pass
5151

5252
return OptXGBoostCustomCallback

0 commit comments

Comments
 (0)