build.yml: add black formatting check

Signed-off-by: sommersoft <sommersoft@gmail.com>
This commit is contained in:
sommersoft 2020-04-07 15:02:31 -05:00
parent af8fa2a00a
commit 5b13f043af

View file

@ -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' )