Skip to content

Commit

Permalink
Set lint failure threshold, run on 3.11 only
Browse files Browse the repository at this point in the history
Running on 3.9 and 3.11 was useful when checking the package would
install succesfully; the pytest run is now responsible for that.
  • Loading branch information
ajjackson committed May 29, 2024
1 parent d23103b commit 45f8465
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/pylint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand All @@ -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

0 comments on commit 45f8465

Please sign in to comment.