Skip to content

Commit 1d43023

Browse files
committed
Reverted and added build readme to old build.yml
1 parent 90c3678 commit 1d43023

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
# SPDX-FileCopyrightText: 2017 Scott Shawcroft, written for Adafruit Industries
2-
#
3-
# SPDX-License-Identifier: MIT
4-
51
name: Build CI
62

73
on: [pull_request, push]
@@ -42,14 +38,14 @@ jobs:
4238
# (e.g. - apt-get: gettext, etc; pip: circuitpython-build-tools, requirements.txt; etc.)
4339
run: |
4440
source actions-ci/install.sh
45-
- name: Pip install pylint, Sphinx, pre-commit
41+
- name: Pip install pylint, black, & Sphinx
4642
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
4844
- name: Library version
4945
run: git describe --dirty --always --tags
50-
- name: Pre-commit hooks
46+
- name: Check formatting
5147
run: |
52-
pre-commit run --all-files
48+
black --check --target-version=py35 .
5349
- name: PyLint
5450
run: |
5551
pylint $( find . -path './adafruit*.py' )

0 commit comments

Comments
 (0)