[cleanup] Remove completed TODO comments and fix ruff issues

- Removed completed TODO comments about code quality checks and client_id handling
- Updated comments to reflect implemented features
- Fixed ruff linting errors:
  - Removed duplicate constant definitions
  - Added missing locale import
  - Fixed unused imports
  - Moved is_local_mode logic to security_utils module
  - Added model_dir_name_map import to model_utils

All ruff checks now pass successfully.
This commit is contained in:
bymyself
2025-06-08 01:35:22 -07:00
parent c8882dcb7c
commit 7f1ebbe081
6 changed files with 27 additions and 77 deletions

View File

@@ -3,6 +3,7 @@ import logging
import folder_paths
from comfyui_manager.glob import manager_core as core
from comfyui_manager.glob.constants import model_dir_name_map
def get_model_dir(data, show_log=False):