File tree Expand file tree Collapse file tree 1 file changed +4
-8
lines changed Expand file tree Collapse file tree 1 file changed +4
-8
lines changed Original file line number Diff line number Diff line change 1
- # SPDX-FileCopyrightText: 2017 Scott Shawcroft, written for Adafruit Industries
2
- #
3
- # SPDX-License-Identifier: MIT
4
-
5
1
name : Build CI
6
2
7
3
on : [pull_request, push]
@@ -42,14 +38,14 @@ jobs:
42
38
# (e.g. - apt-get: gettext, etc; pip: circuitpython-build-tools, requirements.txt; etc.)
43
39
run : |
44
40
source actions-ci/install.sh
45
- - name : Pip install pylint, Sphinx, pre-commit
41
+ - name : Pip install pylint, black, & Sphinx
46
42
run : |
47
- pip install --force-reinstall pylint Sphinx sphinx-rtd-theme pre-commit
43
+ pip install --force-reinstall pylint black==19.10b0 Sphinx sphinx-rtd-theme
48
44
- name : Library version
49
45
run : git describe --dirty --always --tags
50
- - name : Pre-commit hooks
46
+ - name : Check formatting
51
47
run : |
52
- pre-commit run --all-files
48
+ black --check --target-version=py35 .
53
49
- name : PyLint
54
50
run : |
55
51
pylint $( find . -path './adafruit*.py' )
You can’t perform that action at this time.
0 commit comments