name: Pylint
on: [push]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.12"]
steps:
- uses: actions/checkout@v4
- 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
pip install -r requirements.txt
pip install -e .
- name: Analysing the code with pylint
run: |
pylint src/websearch/ --disable=C0114,C0115,C0116,R0903,R0801,C0413,C0415,W0613,W0612,W1203,W0718,W1514,W0622,R0917,R0914,R1705,R0913 --max-line-length=88