@@ -81,7 +81,7 @@ def _preprocess(self, tokens, defines=None, include_paths=None, included_files=N
8181
8282 return result
8383
84- def preprocessor ( # pylint: disable=too-many-arguments,too-many-branches
84+ def preprocessor ( # pylint: disable=too-many-arguments,too-many-branches,too-many-positional-arguments
8585 self , token , stream , defines , include_paths , included_files
8686 ):
8787 """
@@ -162,7 +162,7 @@ def _skip_protected_region(stream):
162162 if token .value == "end_protected" :
163163 return
164164
165- def expand_macro ( # pylint: disable=too-many-arguments
165+ def expand_macro ( # pylint: disable=too-many-arguments,too-many-positional-arguments
166166 self , macro_token , stream , defines , include_paths , included_files
167167 ):
168168 """
@@ -254,7 +254,9 @@ def determine_if_taken(if_token, arg):
254254 stream .skip_while (NEWLINE )
255255 return result
256256
257- def include (self , token , stream , include_paths , included_files , defines ): # pylint: disable=too-many-arguments
257+ def include (
258+ self , token , stream , include_paths , included_files , defines
259+ ): # pylint: disable=too-many-arguments,too-many-positional-arguments
258260 """
259261 Handle `include directive
260262 """
0 commit comments