Skip to content

Commit f8b00c7

Browse files
committed
Replace NotImplemented with NotImplementedError
``` ************* Module saml2.authn src/saml2/authn.py:32:8: E0711: NotImplemented raised - should raise NotImplementedError (notimplemented-raised) src/saml2/authn.py:32:8: E0702: Raising NotImplementedType while only classes or instances are allowed (raising-bad-type) src/saml2/authn.py:35:8: E0711: NotImplemented raised - should raise NotImplementedError (notimplemented-raised) src/saml2/authn.py:35:8: E0702: Raising NotImplementedType while only classes or instances are allowed (raising-bad-type) src/saml2/authn.py:38:8: E0711: NotImplemented raised - should raise NotImplementedError (notimplemented-raised) src/saml2/authn.py:38:8: E0702: Raising NotImplementedType while only classes or instances are allowed (raising-bad-type) ``` Signed-off-by: Ivan Kanakarakis <[email protected]>
1 parent 832d26f commit f8b00c7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/saml2/authn.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,13 @@ def __init__(self, srv):
2929
self.srv = srv
3030

3131
def __call__(self, *args, **kwargs):
32-
raise NotImplemented
32+
raise NotImplementedError
3333

3434
def authenticated_as(self, **kwargs):
35-
raise NotImplemented
35+
raise NotImplementedError
3636

3737
def verify(self, **kwargs):
38-
raise NotImplemented
38+
raise NotImplementedError
3939

4040

4141
def is_equal(a, b):

0 commit comments

Comments
 (0)