diff --git a/cryptoparser/common/parse.py b/cryptoparser/common/parse.py index 2a7ddc6..4f69b69 100644 --- a/cryptoparser/common/parse.py +++ b/cryptoparser/common/parse.py @@ -149,7 +149,7 @@ def _parse_string_by_length( item_max_length, encoding, converter - ): # pylint: disable=too-many-arguments + ): # pylint: disable=too-many-arguments,too-many-positional-arguments if item_min_length > self.unparsed_length: raise NotEnoughData(item_min_length - self.unparsed_length) @@ -177,7 +177,7 @@ def __init__(self, parsable, encoding='ascii'): super(ParserText, self).__init__(parsable) self._encoding = encoding - def _check_separators( # pylint: disable=too-many-arguments + def _check_separators( # pylint: disable=too-many-arguments,too-many-positional-arguments self, name, count_offset, @@ -206,7 +206,7 @@ def parse_separator(self, separator, min_length=1, max_length=None): 'separator', self._parsed_length, separator, min_length, max_length ) - def _parse_numeric_array( # pylint: disable=too-many-arguments + def _parse_numeric_array( # pylint: disable=too-many-arguments,too-many-positional-arguments self, name, item_num, separator, converter, is_floating): value = [] floating_point_found = False @@ -293,7 +293,7 @@ def parse_string_by_length(self, name, min_length=1, max_length=None, item_class self._parsed_values[name] = value self._parsed_length += parsed_length - def _apply_item_class( # pylint: disable=too-many-arguments + def _apply_item_class( # pylint: disable=too-many-arguments,too-many-positional-arguments self, name, item_offset, @@ -326,7 +326,7 @@ def _apply_item_class( # pylint: disable=too-many-arguments return item - def _parse_string_until_separator( # pylint: disable=too-many-arguments + def _parse_string_until_separator( # pylint: disable=too-many-arguments,too-many-positional-arguments self, name, item_offset, @@ -392,7 +392,7 @@ def _parse_string_array( fallback_class=None, separator_spaces='', skip_empty=False - ): # pylint: disable=too-many-arguments + ): # pylint: disable=too-many-arguments,too-many-positional-arguments value = [] item_offset = self._parsed_length max_separator_count = None if skip_empty else 1 @@ -449,7 +449,7 @@ def parse_string_array( separator_spaces='', skip_empty=False, max_item_num=None, - ): # pylint: disable=too-many-arguments + ): # pylint: disable=too-many-arguments,too-many-positional-arguments self._parse_string_array( name, separator,