@@ -1217,7 +1217,7 @@ def pytest_load_initial_conftests(self, early_config: Config) -> None:
12171217 # early_config.args it not set yet. But we need it for
12181218 # discovering the initial conftests. So "pre-run" the logic here.
12191219 # It will be done for real in `parse()`.
1220- args , args_source = early_config ._decide_args (
1220+ args , _args_source = early_config ._decide_args (
12211221 args = early_config .known_args_namespace .file_or_dir ,
12221222 pyargs = early_config .known_args_namespace .pyargs ,
12231223 testpaths = early_config .getini ("testpaths" ),
@@ -1273,7 +1273,7 @@ def _consider_importhook(self, args: Sequence[str]) -> None:
12731273 and find all the installed plugins to mark them for rewriting
12741274 by the importhook.
12751275 """
1276- ns , unknown_args = self ._parser .parse_known_and_unknown_args (args )
1276+ ns , _unknown_args = self ._parser .parse_known_and_unknown_args (args )
12771277 mode = getattr (ns , "assertmode" , "plain" )
12781278
12791279 disable_autoload = getattr (ns , "disable_plugin_autoload" , False ) or bool (
@@ -1630,7 +1630,7 @@ def _getini_unknown_type(self, name: str, type: str, value: object):
16301630
16311631 def _getini (self , name : str ):
16321632 try :
1633- description , type , default = self ._parser ._inidict [name ]
1633+ _description , type , default = self ._parser ._inidict [name ]
16341634 except KeyError as e :
16351635 raise ValueError (f"unknown configuration value: { name !r} " ) from e
16361636 override_value = self ._get_override_ini_value (name )
0 commit comments