]> Repositories - hackapet/Adafruit_Blinka.git/blobdiff - .github/workflows/build.yml
Fixed pylint to check all files and linted
[hackapet/Adafruit_Blinka.git] / .github / workflows / build.yml
index 4be12a58a30975f48f36c9d1476ca374559bc9ca..b0f79c273442b0faf46272c006a7839c073a3e79 100644 (file)
@@ -21,7 +21,7 @@ jobs:
       run: |
         python3 --version
     - name: Checkout Current Repo
-      uses: actions/checkout@v1
+      uses: actions/checkout@v2
       with:
         submodules: true
     - name: Checkout tools repo
@@ -43,7 +43,7 @@ jobs:
         black --check --target-version=py35 .
     - name: PyLint
       run: |
-        pylint src/**/*.py
+        pylint $( find src -name '*.py' )
         ([[ ! -d "examples" ]] || pylint --disable=missing-docstring,invalid-name,bad-whitespace $( find . -path "./examples/*.py" ))
     - name: Build docs
       working-directory: docs