blenderの環境依存によるlintエラーを抑制

This commit is contained in:
2026-02-22 16:36:20 +09:00
parent be65abc6b0
commit dc41327cea
2 changed files with 20 additions and 20 deletions
+14 -14
View File
@@ -31,25 +31,25 @@ def fix_library_path():
# Fix library path BEFORE any other imports
fix_library_path()
import queue
import threading
import uuid
import traceback
import subprocess
from typing import Dict, Optional, List
from pathlib import Path
import queue # noqa: E402
import threading # noqa: E402
import uuid # noqa: E402
import traceback # noqa: E402
import subprocess # noqa: E402
from typing import Dict, Optional, List # noqa: E402
from pathlib import Path # noqa: E402
from fastapi import FastAPI, HTTPException, BackgroundTasks
from pydantic import BaseModel
import uvicorn
import cv2
import numpy as np
import msgpack
from fastapi import FastAPI, HTTPException, BackgroundTasks # noqa: E402
from pydantic import BaseModel # noqa: E402
import uvicorn # noqa: E402
import cv2 # noqa: E402
import numpy as np # noqa: E402
import msgpack # noqa: E402
# Add project root to path for imports if needed
sys.path.append(str(Path(__file__).parent.parent))
from server.detector import get_detector
from server.detector import get_detector # noqa: E402
app = FastAPI(title="Face Mask Inference Server")