Skip to content

Commit ddcd1e7

Browse files
authored
Merge pull request #36 from adafruit/dherrada-patch-1
Changed build.yml to have the correct examples linting command
2 parents 59cfa42 + e92bf97 commit ddcd1e7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/build.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
- name: PyLint
4343
run: |
4444
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)
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)