Skip to content

Commit

Permalink
style(pikatypes: *InstallInfo): remove builtin dataclass repr to use …
Browse files Browse the repository at this point in the history
…a custom one
  • Loading branch information
actionless committed Sep 18, 2024
1 parent 573b75f commit dc55d2d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pikaur/pikatypes.py
Original file line number Diff line number Diff line change
@@ -63,7 +63,7 @@ class PackageSource(enum.Enum):
LOCAL = enum.auto()


@dataclass(eq=False, kw_only=True)
@dataclass(eq=False, kw_only=True, repr=False)
class InstallInfo(ComparableType):
package: "pyalpm.Package | AURPackageInfo"
name: str = ""
@@ -140,12 +140,12 @@ def __post_init__(self) -> None:
self.repository = cast("pyalpm.Package", self.package).db.name


@dataclass(eq=False)
@dataclass(eq=False, repr=False)
class RepoInstallInfo(InstallInfo):
package: "pyalpm.Package"


@dataclass(eq=False)
@dataclass(eq=False, repr=False)
class AURInstallInfo(InstallInfo):
package: "AURPackageInfo"

0 comments on commit dc55d2d

Please sign in to comment.