|
|
|
@ -45,7 +45,7 @@ while read module; do
|
|
|
|
|
# sloooow by comparison to git grep
|
|
|
|
|
#grep -R "import[[:space:]]\+$module\|from[[:space:]]\+$module[[:space:]]\+import[[:space:]]\+" . |
|
|
|
|
|
if ! \
|
|
|
|
|
git grep "import[[:space:]]\+$module\|from[[:space:]]\+$module[[:space:]]\+import[[:space:]]\+" |
|
|
|
|
|
git grep "import[[:space:]]\+$module\|from[[:space:]]\+$module\([[:alnum:]\.]\+\)\?[[:space:]]\+import[[:space:]]\+" |
|
|
|
|
|
grep -v requirements.txt |
|
|
|
|
|
grep -q .; then
|
|
|
|
|
echo "$module"
|
|
|
|
|