Correct typing of RequirementsFinder
Correct typing of RequirementsFinder

_get_files_from_dir() should return an iterator, so use 'yield from'
syntax rather than returning a list.

Add type hints to _get_files_from_dir_cached(). It returns a list.

PyCQA/isort,PyCQA/isort