- name: Translate Repo Name For Build Tools filename_prefix
id: repo-name
run: echo ::set-output name=repo-name::Adafruit-Blinka
- - name: Set up Python 3.6
+ - name: Set up Python 3.7
uses: actions/setup-python@v1
with:
- python-version: 3.6
+ python-version: 3.7
- name: Versions
run: |
python3 --version
source actions-ci/install.sh
- name: Pip install pylint, black, & Sphinx
run: |
- pip install --force-reinstall pylint black Sphinx sphinx-rtd-theme
+ pip install --force-reinstall pylint==2.7.1 black Sphinx sphinx-rtd-theme
- name: Library version
run: git describe --dirty --always --tags
- name: Check formatting
run: |
- black --check --target-version=py35 .
+ black --check --target-version=py37 .
- name: PyLint
run: |
pylint $( find src -name '*.py' )