Skip to content

Commit

Permalink
build.yml: add black formatting check
Browse files Browse the repository at this point in the history
Signed-off-by: sommersoft <[email protected]>
  • Loading branch information
sommersoft committed Apr 7, 2020
1 parent 8bf1237 commit 4bb1ce4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@ jobs:
pip install --force-reinstall pylint black==19.10b0 Sphinx sphinx-rtd-theme
- name: Library version
run: git describe --dirty --always --tags
- name: Check formatting
run: |
black --check --target-version=py35 .
- name: PyLint
run: |
pylint $( find . -path './adafruit*.py' )
Expand Down

0 comments on commit 4bb1ce4

Please sign in to comment.