Files
OpenSK/.github/workflows/pylint.yml
Jean-Michel Picod ac800aa5d2 Fix typo and pylint
2020-02-24 19:25:57 +01:00

28 lines
736 B
YAML

name: pylint
on: [push]
# push:
# paths:
# - '**/*.py'
# - '.pylintrc'
# - '!third_party/**'
jobs:
pylint:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.6, 3.7, 3.8]
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip setuptools wheel
pip install tockloader
- name: Test code with pylint
run: |
pip install pylint
pylint --rcfile=.pylintrc `find . -maxdepth 1 -type f -name '*.py'`