Skip to content

senzing-factory/build-resources#69 add linting (#55) #30

senzing-factory/build-resources#69 add linting (#55)

senzing-factory/build-resources#69 add linting (#55) #30

Workflow file for this run

name: pylint
on: [push]
jobs:
pylint:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10"]
steps:
- uses: actions/checkout@v3
- name: set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: install dependencies
run: |
python -m pip install --upgrade pip
pip install pylint
- name: analysing the code with pylint
run: |
# shellcheck disable=SC2046
pylint $(git ls-files '*.py')