Skip to content

Commit

Permalink
Removed obsolete pylint overrides (#617)
Browse files Browse the repository at this point in the history
  • Loading branch information
joachimmetz authored Mar 5, 2024
1 parent 2449049 commit b275745
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 21 deletions.
2 changes: 1 addition & 1 deletion artifacts/artifact.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class ArtifactDefinition(object):
aliases (list[str]): aliases that identify the artifact definition.
description (str): description.
name (str): name that uniquely identifiers the artifact definition.
sources (list[str]): sources.
sources (list[SourceType]): sources.
supported_os (list[str]): supported operating systems.
urls (list[str]): URLs with more information about the artifact definition.
"""
Expand Down
8 changes: 0 additions & 8 deletions artifacts/reader.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,6 @@ class BaseArtifactsReader(object):
supported_os (set[str]): supported operating systems.
"""

# Note that redundant-returns-doc and redundant-yields-doc are broken for
# pylint 1.7.x for abstract methods.
# pylint: disable=redundant-returns-doc,redundant-yields-doc

def __init__(self):
"""Initializes an artifacts reader."""
super(BaseArtifactsReader, self).__init__()
Expand Down Expand Up @@ -89,10 +85,6 @@ def ReadFileObject(self, file_object):
class ArtifactsReader(BaseArtifactsReader):
"""Artifacts reader common functionality."""

# Note that redundant-yields-doc is broken for pylint 1.7.x for
# abstract methods.
# pylint: disable=redundant-yields-doc

def __init__(self):
"""Initializes an artifacts reader."""
super(ArtifactsReader, self).__init__()
Expand Down
4 changes: 0 additions & 4 deletions artifacts/source_type.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,6 @@
class SourceType(object):
"""Artifact definition source type interface."""

# Note that redundant-returns-doc is broken for pylint 1.7.x for
# abstract methods.
# pylint: disable=redundant-returns-doc

TYPE_INDICATOR = None

def __init__(self):
Expand Down
8 changes: 0 additions & 8 deletions artifacts/writer.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,6 @@
class BaseArtifactsWriter(object):
"""Artifacts writer interface."""

# Note that redundant-returns-doc is broken for # pylint 1.7.x for
# abstract methods.
# pylint: disable=redundant-returns-doc

@abc.abstractmethod
def FormatArtifacts(self, artifacts):
"""Formats artifacts to desired output format.
Expand All @@ -37,10 +33,6 @@ def WriteArtifactsFile(self, artifacts, filename):
class ArtifactWriter(BaseArtifactsWriter):
"""File artifacts writer."""

# Note that redundant-returns-doc is broken for # pylint 1.7.x for
# abstract methods.
# pylint: disable=redundant-returns-doc

@abc.abstractmethod
def FormatArtifacts(self, artifacts):
"""Formats artifacts to desired output format.
Expand Down

0 comments on commit b275745

Please sign in to comment.