Skip to content

Commit 2e42b32

Browse files
committed
Build.yml now looks for examples in example subdirs
1 parent dfbed56 commit 2e42b32

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ jobs:
4141
run: git describe --dirty --always --tags
4242
- name: PyLint
4343
run: |
44-
pylint $( find . -path './adafruit*.py' )
45-
[ "$(ls -A examples/*.py)" ] && ([[ ! -d "examples" ]] || pylint --disable=missing-docstring,invalid-name,bad-whitespace examples/*.py) || ([[ ! -d "examples" ]] || pylint --disable=missing-docstring,invalid-name,bad-whitespace examples/*/*.py)
44+
pylint $( find . -path './adafruit_io*.py' )
45+
([[ ! -d "examples" ]] || pylint --disable=missing-docstring,invalid-name,bad-whitespace $( find . -path "./examples/*.py" ))
4646
- name: Build assets
4747
run: circuitpython-build-bundles --filename_prefix ${{ steps.repo-name.outputs.repo-name }} --library_location .
4848
- name: Build docs

0 commit comments

Comments
 (0)