run: |
python3 --version
- name: Checkout Current Repo
- uses: actions/checkout@v1
+ uses: actions/checkout@v2
with:
submodules: true
- name: Checkout tools repo
source actions-ci/install.sh
- name: Pip install pylint, black, & Sphinx
run: |
- pip install --force-reinstall pylint black==19.10b0 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
black --check --target-version=py35 .
- name: PyLint
run: |
- pylint src/**/*.py
+ pylint $( find src -name '*.py' )
([[ ! -d "examples" ]] || pylint --disable=missing-docstring,invalid-name,bad-whitespace $( find . -path "./examples/*.py" ))
- name: Build docs
working-directory: docs