Skip to content

Commit 83f81da

Browse files
authored
Merge pull request #70 from adafruit/move-black-before-pylint
Move black before pylint.
2 parents 78f912e + e186790 commit 83f81da

File tree

1 file changed

+3
-3
lines changed
  • {{ cookiecutter.library_name }}/.github/workflows

1 file changed

+3
-3
lines changed

{{ cookiecutter.library_name }}/.github/workflows/build.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,13 +43,13 @@ jobs:
4343
pip install --force-reinstall pylint black==19.10b0 Sphinx sphinx-rtd-theme
4444
- name: Library version
4545
run: git describe --dirty --always --tags
46+
- name: Check formatting
47+
run: |
48+
black --check --target-version=py35 .
4649
- name: PyLint
4750
run: |
4851
pylint $( find . -path './adafruit*.py' )
4952
([[ ! -d "examples" ]] || pylint --disable=missing-docstring,invalid-name,bad-whitespace $( find . -path "./examples/*.py" ))
50-
- name: Check formatting
51-
run: |
52-
black --check --target-version=py35 .
5353
- name: Build assets
5454
run: circuitpython-build-bundles --filename_prefix ${{ steps.repo-name.outputs.repo-name }} --library_location .
5555
- name: Build docs

0 commit comments

Comments
 (0)