Merge pull request #139 from wagner-intevation/turvallisuusneuvonta-w… #119
This file contains hidden or 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: [push, pull_request] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| permissions: {} | |
| strategy: | |
| matrix: | |
| python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"] | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - name: Set up Python ${{ matrix.python-version }} | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - name: Install dependencies | |
| run: | | |
| python -m pip install --upgrade pip | |
| # needed for building lxml wheel für python 3.14 (2026-05-04) | |
| sudo apt-get install --assume-yes libxml2-dev libxslt1-dev | |
| pip install pylint | |
| pip install -r requirements.txt | |
| - name: Analysing the code with pylint | |
| run: | | |
| pylint --good-names=e,f $(git ls-files '*.py') |