@@ -1217,7 +1217,7 @@ def pytest_load_initial_conftests(self, early_config: Config) -> None:
1217
1217
# early_config.args it not set yet. But we need it for
1218
1218
# discovering the initial conftests. So "pre-run" the logic here.
1219
1219
# It will be done for real in `parse()`.
1220
- args , args_source = early_config ._decide_args (
1220
+ args , _args_source = early_config ._decide_args (
1221
1221
args = early_config .known_args_namespace .file_or_dir ,
1222
1222
pyargs = early_config .known_args_namespace .pyargs ,
1223
1223
testpaths = early_config .getini ("testpaths" ),
@@ -1273,7 +1273,7 @@ def _consider_importhook(self, args: Sequence[str]) -> None:
1273
1273
and find all the installed plugins to mark them for rewriting
1274
1274
by the importhook.
1275
1275
"""
1276
- ns , unknown_args = self ._parser .parse_known_and_unknown_args (args )
1276
+ ns , _unknown_args = self ._parser .parse_known_and_unknown_args (args )
1277
1277
mode = getattr (ns , "assertmode" , "plain" )
1278
1278
1279
1279
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):
1630
1630
1631
1631
def _getini (self , name : str ):
1632
1632
try :
1633
- description , type , default = self ._parser ._inidict [name ]
1633
+ _description , type , default = self ._parser ._inidict [name ]
1634
1634
except KeyError as e :
1635
1635
raise ValueError (f"unknown configuration value: { name !r} " ) from e
1636
1636
override_value = self ._get_override_ini_value (name )
0 commit comments