Skip to content

ci: add a job running pylint #63

ci: add a job running pylint

ci: add a job running pylint #63

Workflow file for this run

name: lint
on: [push, pull_request]
jobs:
run-linters:
name: Run linters
runs-on: ubuntu-latest
steps:
- name: Check out Git repository
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v1
with:
python-version: 3.8
- name: Install Python dependencies
run: pip install black flake8 pylint
- name: Run linters
uses: wearerequired/lint-action@v2
with:
auto_fix: false
black: true
flake8: false
- name: Analysing the code with pylint
run: |
pylint $(git ls-files '*.py')