]> Repositories - hackapet/Adafruit_Blinka.git/blobdiff - .github/workflows/build.yml
Allow latest release of black to run
[hackapet/Adafruit_Blinka.git] / .github / workflows / build.yml
index 83c2a340d6095fe385720c863b2737226099eda5..f00cbfe4231e70a782eb36d472f4c7ac4d38e9b4 100644 (file)
@@ -35,7 +35,7 @@ jobs:
         source actions-ci/install.sh
     - name: Pip install pylint, black, & Sphinx
       run: |
-        pip install --force-reinstall pylint black==19.10b0 Sphinx sphinx-rtd-theme
+        pip install --force-reinstall pylint black Sphinx sphinx-rtd-theme
     - name: Library version
       run: git describe --dirty --always --tags
     - name: Check formatting
@@ -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