Fix skip file checking
This commit is contained in:
parent
a7dccb18eb
commit
5468cb8237
1 changed files with 8 additions and 2 deletions
10
pylint_check
10
pylint_check
|
|
@ -1,5 +1,11 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
set -x
|
function find_pyfiles() {
|
||||||
|
for f in $(find . -type f -iname '*.py'); do
|
||||||
|
if [ ! -e "$(dirname $f)/.circuitpython.skip" ]; then
|
||||||
|
echo "$f"
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
}
|
||||||
|
|
||||||
find . -type d '!' -exec test -e "{}/.circuitpython.skip" ';' | xargs pylint
|
find_pyfiles | xargs pylint
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue