pipreqs icon indicating copy to clipboard operation
pipreqs copied to clipboard

fix when calling from outside directory

Open marceloandrioni opened this issue 3 years ago • 0 comments

Hello, tanks for the great package. The current directory is always included in the search path. This can be a problem when calling pipreqs from another directory (e.g.: pipreqs my_dir), as the current directory and the desired directory (my_dir) will be included in the search path. This PR ensures that only the desired directory is scanned.

marceloandrioni avatar May 06 '22 16:05 marceloandrioni