Skip to content

Commit 28d29bd

Browse files
committed
We should raise NotImplementedError
NotImplemented is a type, NotImplementedError is what should be raised
1 parent 6e5a578 commit 28d29bd

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

utils/generate_profile.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -62,19 +62,19 @@ class Parser(abc.ABC):
6262

6363
@abc.abstractmethod
6464
def __init__(self) -> None:
65-
raise NotImplemented
65+
raise NotImplementedError
6666

6767
@abc.abstractmethod
6868
def get_name(self):
69-
raise NotImplemented
69+
raise NotImplementedError
7070

7171
@abc.abstractmethod
7272
def get_version(self):
73-
raise NotImplemented
73+
raise NotImplementedError
7474

7575
@abc.abstractmethod
7676
def parse(self):
77-
raise NotImplemented
77+
raise NotImplementedError
7878

7979

8080
class XLSXParser(Parser):

0 commit comments

Comments
 (0)