Skip to content

🎨🚨 Add pre-commit and Pylint #25

🎨🚨 Add pre-commit and Pylint

🎨🚨 Add pre-commit and Pylint #25

Workflow file for this run

name: Pylint
on:
pull_request:
push:
jobs:
Pylint:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.10"]
steps:
- uses: actions/[email protected]
- name: Set up Python ${{ matrix.python-version }}
uses: actions/[email protected]
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Analysing the code with pylint
run: |
pylint $(git ls-files '*.py') --rcfile=$(git ls-files '.pylintrc')