We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent edc84f0 commit 363d41aCopy full SHA for 363d41a
1 file changed
pylint_check.sh
@@ -3,8 +3,9 @@
3
PYLINT="`type -p pylint3 2>/dev/null || type -p pylint`"
4
echo "Using pylint bin at $PYLINT"
5
6
+# Use * as the default argument to avoid descending into hidden directories like .git
7
function find_pyfiles() {
- if [ $# -eq 0 ]; then set -- .; fi
8
+ if [ $# -eq 0 ]; then set -- *; fi
9
for f in $(find "$@" -type f -iname '*.py'); do
10
if [ ! -e "$(dirname $f)/.circuitpython.skip" ]; then
11
echo "$f"
0 commit comments