style: ignore PLC0415 rule

This commit is contained in:
Dowon
2026-02-05 20:19:04 +09:00
parent 55bb8117a6
commit 702fb41a72
2 changed files with 2 additions and 2 deletions

View File

@@ -22,7 +22,7 @@ def ultralytics_predict(
device: str = "",
classes: str = "",
) -> PredictOutput[float]:
from ultralytics import YOLO # noqa: PLC0415
from ultralytics import YOLO
model = YOLO(model_path)
apply_classes(model, model_path, classes)

View File

@@ -74,7 +74,7 @@ select = [
"UP",
"W",
]
ignore = ["B905", "E501", "PLR2004", "PLW0603"]
ignore = ["B905", "E501", "PLC0415", "PLR2004", "PLW0603"]
unfixable = ["F401"]
[tool.ruff.lint.isort]