fix(lint): use plain comments for architecture validator codes
Replace # noqa: SVC-006 with # SVC-006 to avoid ruff warnings about unknown codes. Updated architecture validators to match the new format by checking for the code string directly instead of the noqa: prefix. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -27,7 +27,7 @@ from app.modules.cms.schemas import (
|
||||
from app.modules.cms.services import content_page_service
|
||||
from app.modules.tenancy.models import User
|
||||
from app.modules.tenancy.services.store_service import (
|
||||
StoreService, # noqa: MOD-004 - shared platform service
|
||||
StoreService, # MOD-004 - shared platform service
|
||||
)
|
||||
|
||||
store_service = StoreService()
|
||||
|
||||
@@ -14,7 +14,7 @@ from sqlalchemy.orm import Session
|
||||
from app.api.deps import get_current_store_from_cookie_or_header, get_db
|
||||
from app.modules.cms.services import content_page_service
|
||||
from app.modules.core.services.platform_settings_service import (
|
||||
platform_settings_service, # noqa: MOD-004 - shared platform service
|
||||
platform_settings_service, # MOD-004 - shared platform service
|
||||
)
|
||||
from app.modules.tenancy.models import Store, User
|
||||
from app.templates_config import templates
|
||||
|
||||
Reference in New Issue
Block a user