Add config file support for existing parameters (#413) #785
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Pylint | |
on: | |
# Run tests on each commit, newly opened/reopened PR, and | |
# PR review submission (e.g. approval) | |
workflow_dispatch: | |
push: | |
paths: | |
- "**.py" | |
pull_request: | |
types: [opened, reopened] | |
branches: | |
- "main" | |
paths: | |
- "**.py" | |
pull_request_review: | |
types: [submitted] | |
jobs: | |
build: | |
runs-on: ubuntu-20.04 | |
strategy: | |
matrix: | |
python-version: ["3.9.2"] | |
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 -r requirements.txt | |
pip install pylint==3.2.7 pytest selenium | |
- name: Analysing the code with pylint | |
run: | | |
pylint -d R0913,R0914,R0915,R1702,W0718,W0719,R0801 $(git ls-files '*.py') |