Skip to content

Update pylint.yml

Update pylint.yml #60

Workflow file for this run

name: Pylint
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
pylint:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.10" # ← ONLY ONE VERSION
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pylint
# If you have requirements:
# pip install -r requirements.txt
- name: Run pylint
run: |
pylint $(git ls-files "*.py')