Skip to content

Commit f6f4006

Browse files
committed
add path to grep
1 parent 5cbd232 commit f6f4006

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ci/lint.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ if [ "$LINT" ]; then
9090
#
9191
# Check the following functions:
9292
# any(), all(), sum(), max(), min(), list(), dict(), set(), frozenset(), tuple(), str.join()
93-
grep -R --include="*.py*" -E "[^_](any|all|sum|max|min|list|dict|set|frozenset|tuple|join)\(\[.* for .* in .*\]\)"
93+
grep -R --include="*.py*" -E "[^_](any|all|sum|max|min|list|dict|set|frozenset|tuple|join)\(\[.* for .* in .*\]\)" .
9494

9595
if [ $? = "0" ]; then
9696
RET=1
@@ -103,7 +103,7 @@ if [ "$LINT" ]; then
103103
#
104104
# Check the following functions:
105105
# list(), set(), dict()
106-
grep -R --include="*.py*" -E "(list|dict|[^frozen]set)\([^\{)=]* for .* in [^}]*\)"
106+
grep -R --include="*.py*" -E "(list|dict|[^frozen]set)\([^\{)=]* for .* in [^}]*\)" .
107107

108108
if [ $? = "0" ]; then
109109
RET=1

0 commit comments

Comments
 (0)