Skip to content

Commit

Permalink
models.reference_files - remove unnecessary PyCharm inspection except…
Browse files Browse the repository at this point in the history
…ions
  • Loading branch information
MatteoCampinoti94 committed Oct 22, 2024
1 parent 0372526 commit cecbfc7
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions acacore/models/reference_files.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@ class CustomSignature(BaseModel):
operator: Literal["AND", "OR"] | None = None
extension: str | None = None

# noinspection PyNestedDecorators
@model_validator(mode="after")
def _validate_model(self) -> Self:
if not self.bof and not self.eof:
Expand Down Expand Up @@ -189,7 +188,6 @@ class IgnoreAction(NoDefaultsModel):
template: TTemplateType
reason: str | None = None

# noinspection PyNestedDecorators
@model_validator(mode="after")
def _validate_model(self) -> Self:
if self.template == "text" and self.reason is None or not self.reason.strip():
Expand Down

0 comments on commit cecbfc7

Please sign in to comment.