@@ -105,7 +105,7 @@ def locate_config(
105105 if not args :
106106 args = [invocation_dir ]
107107 found_pyproject_toml : Path | None = None
108- ignored_files : list [str ] = []
108+ ignored_config_files : list [str ] = []
109109
110110 for arg in args :
111111 argpath = absolutepath (arg )
@@ -123,8 +123,8 @@ def locate_config(
123123 p2 = base / remainder
124124 if p2 .is_file ():
125125 if load_config_dict_from_file (p2 ) is not None :
126- ignored_files .append (remainder )
127- return base , p , ini_config , ignored_files
126+ ignored_config_files .append (remainder )
127+ return base , p , ini_config , ignored_config_files
128128 if found_pyproject_toml is not None :
129129 return found_pyproject_toml .parent , found_pyproject_toml , {}, []
130130 return None , None , {}, []
@@ -202,7 +202,7 @@ def determine_setup(
202202 """
203203 rootdir = None
204204 dirs = get_dirs_from_args (args )
205- ignored_files : list [str ] = []
205+ ignored_config_files : list [str ] = []
206206
207207 if inifile :
208208 inipath_ = absolutepath (inifile )
@@ -212,7 +212,7 @@ def determine_setup(
212212 rootdir = inipath_ .parent
213213 else :
214214 ancestor = get_common_ancestor (invocation_dir , dirs )
215- rootdir , inipath , inicfg , ignored_files = locate_config (
215+ rootdir , inipath , inicfg , ignored_config_files = locate_config (
216216 invocation_dir , [ancestor ]
217217 )
218218 if rootdir is None and rootdir_cmd_arg is None :
@@ -236,7 +236,7 @@ def determine_setup(
236236 f"Directory '{ rootdir } ' not found. Check your '--rootdir' option."
237237 )
238238 assert rootdir is not None
239- return rootdir , inipath , inicfg or {}, ignored_files
239+ return rootdir , inipath , inicfg or {}, ignored_config_files
240240
241241
242242def is_fs_root (p : Path ) -> bool :
0 commit comments