Repository navigation
Merge pull request #2887 from tisnik/lcore-4620-enforce-d413-rule-for… #9085
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: Python linter | |
| on: | |
| - push | |
| - pull_request | |
| jobs: | |
| pylint: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| pull-requests: read | |
| name: "Pylinter" | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v5 | |
| with: | |
| python-version: '3.12' | |
| - name: Install dependencies | |
| run: uv sync --group ogxlibdev | |
| - name: Python linter | |
| run: uv run pylint src tests |