Skip to content

Commit

Permalink
Delete pylint ignore lines
Browse files Browse the repository at this point in the history
Co-authored-by: Byron Himes <byro93@live.com>
  • Loading branch information
dontseyit and TheByronHimes authored Nov 21, 2023
1 parent 1a04651 commit 4e424dd
Show file tree
Hide file tree
Showing 7 changed files with 0 additions and 7 deletions.
1 change: 0 additions & 1 deletion src/metldata/artifacts_rest/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ class ArtifactsRestConfig(BaseSettings):
description="Information for artifacts to be queryable via the Artifacts REST API.",
)

# pylint: disable=no-self-argument
@field_validator("artifact_infos")
def validate_artifact_info_names(
cls, value: list[ArtifactInfo]
Expand Down
1 change: 0 additions & 1 deletion src/metldata/artifacts_rest/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,6 @@ class ArtifactInfo(BaseModel):
),
)

# pylint: disable=no-self-argument
@field_validator("resource_classes")
def check_resource_class_names(
cls, value: dict[str, ArtifactResourceClass]
Expand Down
1 change: 0 additions & 1 deletion src/metldata/builtin_transformations/aggregate/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ class AggregationOperation(BaseModel):
visit_only_once: Optional[list[str]] = None
function: type[AggregationFunction]

# pylint: disable=no-self-argument
@model_validator(mode="before")
def lookup_operation(cls, values: dict) -> dict:
"""Replaces operation strings with operation types."""
Expand Down
1 change: 0 additions & 1 deletion src/metldata/builtin_transformations/merge_slots/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ class SlotMergingConfig(BaseSettings):
],
)

# pylint: disable=no-self-argument
@field_validator("merge_instructions")
def validate_merge_instructions(
cls, filtered_merge_instructions: list[SlotMergeInstruction]
Expand Down
1 change: 0 additions & 1 deletion src/metldata/event_handling/artifact_events.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ class ArtifactEventConfig(BaseModel):
),
)

# pylint: disable=no-self-argument
@field_validator("artifact_topic_prefix")
def artifact_topic_prefix_must_not_contain_dots(cls, value: str):
"""Validate that artifact topic prefix does not contain dots."""
Expand Down
1 change: 0 additions & 1 deletion src/metldata/load/collect.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ class ArtifactCollectorConfig(ArtifactEventConfig):
),
)

# pylint: disable=no-self-argument
@field_validator("artifact_types")
def artifact_types_must_not_contain_dots(cls, value: list[str]):
"""Validate that artifact types do not contain dots."""
Expand Down
1 change: 0 additions & 1 deletion src/metldata/submission_registry/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,6 @@ def current_status(self) -> SubmissionStatus:

return sorted_history[-1].new_status

# pylint: disable=no-self-argument
@field_validator("accession_map")
def check_accession_uniqueness(cls, value: AccessionMap) -> AccessionMap:
"""Check that no accessions are re-used accross classes."""
Expand Down

0 comments on commit 4e424dd

Please sign in to comment.