remove lamda pylint exception
This commit is contained in:
parent
f5fec0e46b
commit
52c757ac36
1 changed files with 1 additions and 1 deletions
|
|
@ -7,7 +7,7 @@
|
|||
|
||||
|
||||
class HMAC:
|
||||
# pylint: disable=protected-access, import-outside-toplevel,unnecessary-lambda-assignment
|
||||
# pylint: disable=protected-access, import-outside-toplevel
|
||||
def __init__(self, key, msg=None, digestmod=None):
|
||||
if not isinstance(key, (bytes, bytearray)):
|
||||
raise TypeError("key: expected bytes/bytearray")
|
||||
|
|
|
|||
Loading…
Reference in a new issue