Skip to content

Commit

Permalink
lint: fix warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
tklockau committed Oct 20, 2023
1 parent f67049a commit c625e4f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,13 @@

@dataclass
class _Attribute(abc.ABC):
@abc.abstractclassmethod
@classmethod
@abc.abstractmethod
def supports(cls, data_dict: dict) -> bool:
raise NotImplementedError

@abc.abstractclassmethod
@classmethod
@abc.abstractmethod
def fromdict(cls, data_dict: dict) -> t.Type["_Attribute"]:
raise NotImplementedError

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
@dataclass
class _Onthology:
classes: t.Dict[str, _ObjectClass]
errors = []

@classmethod
def fromdict(cls, data_dict: dict) -> "_Onthology":
Expand Down

0 comments on commit c625e4f

Please sign in to comment.