pipreqs
pipreqs copied to clipboard
fix when calling from outside directory
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.