Skip to content

Commit 9a400ae

Browse files
authored
Merge pull request #2392 from tiltingpenguin/main
fix typo in _get_files_from_dir_cached test
2 parents 342642e + 66a709c commit 9a400ae

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

isort/deprecated/finders.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,7 @@ def _get_files_from_dir_cached(cls, path: str) -> List[str]:
309309
for subfile_name in os.listdir(full_path):
310310
results.extend(
311311
os.path.join(full_path, subfile_name)
312-
for ext in cls.ext # type: ignore[attr-defined]
312+
for ext in cls.exts
313313
if subfile_name.endswith(ext)
314314
)
315315
continue

0 commit comments

Comments
 (0)