File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 3434DEFAULT_ALGORITHM = "sha1"
3535
3636
37- class Hashpipe : # pylint: disable=too-few-public-methods
37+ class Hashpipe :
3838 """Hash pipe."""
3939
4040 def __init__ (
@@ -63,7 +63,7 @@ def _digest_hmac_new(self, data: bytes) -> bytes:
6363 return hmac .new (self .key , data , self ._digestmod ).digest ()
6464
6565 def _digest_hmac_digest (self , data : bytes ) -> bytes :
66- return hmac .digest ( # type: ignore[attr-defined,no-any-return] # pylint: disable=no-member # 3.7+
66+ return hmac .digest ( # type: ignore[attr-defined,no-any-return] # 3.7+
6767 self .key , data , self ._digestname
6868 )
6969
@@ -176,7 +176,7 @@ def pattern(arg: str) -> Pattern[bytes]:
176176 )
177177
178178 try :
179- import argcomplete # type: ignore[import] # pylint: disable=import-outside-toplevel
179+ import argcomplete # type: ignore[import]
180180 except ImportError :
181181 pass
182182 else :
You can’t perform that action at this time.
0 commit comments