fix some linting
This commit is contained in:
parent
2e24e79a4c
commit
7d2d197cbb
1 changed files with 3 additions and 2 deletions
|
@ -4,10 +4,12 @@ from .common import (
|
||||||
Validateable,
|
Validateable,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
class ArtifactType(Enum):
|
class ArtifactType(Enum):
|
||||||
TEXT = 0
|
TEXT = 0
|
||||||
JAR = 1
|
JAR = 1
|
||||||
|
|
||||||
|
|
||||||
class Artifact(Validateable):
|
class Artifact(Validateable):
|
||||||
def __init__(self, path: str):
|
def __init__(self, path: str):
|
||||||
self.path_str = path
|
self.path_str = path
|
||||||
|
@ -40,4 +42,3 @@ class Artifact(Validateable):
|
||||||
|
|
||||||
def __hash__(self) -> int:
|
def __hash__(self) -> int:
|
||||||
return self.__str__().__hash__()
|
return self.__str__().__hash__()
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue