diff --git a/src/mlstacks/models/component.py b/src/mlstacks/models/component.py index 789fb44d..10afa265 100644 --- a/src/mlstacks/models/component.py +++ b/src/mlstacks/models/component.py @@ -69,7 +69,7 @@ class Component(BaseModel): @field_validator("name") @classmethod - def validate_name(cls, name: str) -> str: # noqa: N805 + def validate_name(cls, name: str) -> str: """Validate the name. Name must start with an alphanumeric character and can only contain diff --git a/src/mlstacks/models/stack.py b/src/mlstacks/models/stack.py index 2fc33a13..14ff2876 100644 --- a/src/mlstacks/models/stack.py +++ b/src/mlstacks/models/stack.py @@ -54,7 +54,7 @@ class Stack(BaseModel): @field_validator("name") @classmethod - def validate_name(cls, name: str) -> str: # noqa: N805 + def validate_name(cls, name: str) -> str: """Validate the name. Name must start with an alphanumeric character and can only contain