Skip to content

Commit

Permalink
Add type ignore to PedAnova import
Browse files Browse the repository at this point in the history
  • Loading branch information
nabenabe0928 committed Feb 22, 2024
1 parent dcad6b1 commit 51aba76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion optuna_dashboard/_importance.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@


try:
from optuna.importance import PedAnovaImportanceEvaluator
from optuna.importance import PedAnovaImportanceEvaluator # type: ignore[attr-defined]
except ImportError:
_logger.warning("optuna>=3.6.0 is required for PedAnovaImportanceEvaluator.")
PedAnovaImportanceEvaluator = None # type: ignore
Expand Down

0 comments on commit 51aba76

Please sign in to comment.