From 45f846577c20d6a26b547a44a9ebda8cbcccba2d Mon Sep 17 00:00:00 2001 From: "Adam J. Jackson" Date: Wed, 29 May 2024 12:03:20 +0100 Subject: [PATCH] Set lint failure threshold, run on 3.11 only Running on 3.9 and 3.11 was useful when checking the package would install succesfully; the pytest run is now responsible for that. --- .github/workflows/pylint.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pylint.yml b/.github/workflows/pylint.yml index ecef92a..ae1b14a 100644 --- a/.github/workflows/pylint.yml +++ b/.github/workflows/pylint.yml @@ -7,7 +7,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ["3.9", "3.11"] + python-version: ["3.11"] steps: - uses: actions/checkout@v3 - name: Set up Python ${{ matrix.python-version }} @@ -21,4 +21,4 @@ jobs: pip install . - name: Analysing the code with pylint run: | - pylint $(git ls-files 'mctools/*.py') + pylint $(git ls-files 'mctools/*.py') --fail-under 8.1