Index: isort-6.0.1/isort/deprecated/finders.py =================================================================== --- isort-6.0.1.orig/isort/deprecated/finders.py +++ isort-6.0.1/isort/deprecated/finders.py @@ -309,7 +309,7 @@ class RequirementsFinder(ReqsBaseFinder) for subfile_name in os.listdir(full_path): results.extend( os.path.join(full_path, subfile_name) - for ext in cls.ext # type: ignore[attr-defined] + for ext in cls.exts # type: ignore[attr-defined] if subfile_name.endswith(ext) ) continue