Skip to content

Commit

Permalink
removed unused noqa
Browse files Browse the repository at this point in the history
  • Loading branch information
bcdurak committed May 7, 2024
1 parent 9356d81 commit 9c812f1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/mlstacks/models/component.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/mlstacks/models/stack.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9c812f1

Please sign in to comment.