@@ -162,7 +162,7 @@ class DXFBase(object):
162162 """
163163 def __init__ (self , host : str ,
164164 auth : Optional [Callable [['DXFBase' , requests .Response ], None ]]= None , insecure : bool = False , auth_host : Optional [str ]= None , tlsverify : Union [bool , str ]= True , timeout : Optional [float ]= None ):
165- # pylint: disable=too-many-arguments
165+ # pylint: disable=too-many-arguments,too-many-positional-arguments
166166 """
167167 :param host: Host name of registry. Can contain port numbers. e.g. ``registry-1.docker.io``, ``localhost:5000``.
168168
@@ -243,7 +243,7 @@ def authenticate(self,
243243 actions : Optional [List [str ]]= None , response : Optional [requests .Response ]= None ,
244244 authorization : Optional [str ]= None ,
245245 user_agent : str = 'Docker-Client/19.03.2 (linux)' ) -> Optional [str ]:
246- # pylint: disable=too-many-arguments,too-many-locals,too-many-branches
246+ # pylint: disable=too-many-arguments,too-many-locals,too-many-branches,too-many-positional-arguments
247247 """
248248 Authenticate to the registry using a username and password,
249249 an authorization header or otherwise as the anonymous user.
@@ -359,7 +359,7 @@ class DXF(DXFBase):
359359 # pylint: disable=too-many-instance-attributes
360360
361361 def __init__ (self : TD , host : str , repo : str , auth : Optional [Callable [['DXFBase' , requests .Response ], None ]]= None , insecure : bool = False , auth_host : Optional [str ]= None , tlsverify : Union [bool , str ]= True , timeout : Optional [float ]= None ):
362- # pylint: disable=too-many-arguments
362+ # pylint: disable=too-many-arguments,too-many-positional-arguments
363363 """
364364 :param host: Host name of registry. Can contain port numbers. e.g. ``registry-1.docker.io``, ``localhost:5000``.
365365
@@ -398,7 +398,7 @@ def push_blob(self,
398398 progress : Optional [Callable [[str , _binary_type , int ], None ]]= None ,
399399 data : Optional [Iterable [_binary_type ]]= None , digest : Optional [str ]= None ,
400400 check_exists : bool = True ) -> str :
401- # pylint: disable=too-many-arguments
401+ # pylint: disable=too-many-arguments,too-many-positional-arguments
402402 """
403403 Upload a file to the registry and return its (SHA-256) hash.
404404
@@ -609,7 +609,7 @@ def head_manifest_and_response(self, alias: str) -> Tuple[str, requests.Response
609609 return r .headers .get ('Docker-Content-Digest' ), r
610610
611611 def _get_alias (self , alias , manifest , verify , sizes , get_digest , get_dcd , get_manifest , platform , ml ):
612- # pylint: disable=too-many-arguments,too-many-locals,too-many-branches,too-many-statements
612+ # pylint: disable=too-many-arguments,too-many-locals,too-many-branches,too-many-statements,too-many-positional-arguments
613613 if alias :
614614 manifest , r = self .get_manifest_and_response (alias )
615615 dcd = r .headers .get ('Docker-Content-Digest' )
@@ -693,7 +693,7 @@ def get_alias(self,
693693 List [Tuple [str , long ]],
694694 Dict [str , Union [List [str ],
695695 List [Tuple [str , long ]]]]]:
696- # pylint: disable=too-many-arguments
696+ # pylint: disable=too-many-arguments,too-many-positional-arguments
697697 """
698698 Get the blob hashes assigned to an alias.
699699
0 commit comments