Skip to content

Verbosity

Verbosity #1390

Workflow file for this run

name: Pylint
on:
pull_request:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.9", "3.10", "3.11"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pylint
pip install .
pip install -r requirements-dev.txt
pip install -r requirements-testing.txt
pip install tensorflow
- name: Analysing the code with pylint
run: |
pylint --fail-under=10 --disable=typecheck,E0606,W,C,R --extension-pkg-allow-list=scipy.special $(git ls-files '*.py')
pylint --fail-under=9 --disable=typecheck,E,C,R $(git ls-files '*.py')