Skip to content

Commit

Permalink
ci: add a job running pylint
Browse files Browse the repository at this point in the history
Signed-off-by: Davide Madrisan <[email protected]>
  • Loading branch information
madrisan committed Dec 22, 2024
1 parent 8c31f68 commit 767f397
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,23 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v1
with:
python-version: 3.8
python-version: 3.12

- name: Install the latest version of uv
uses: astral-sh/setup-uv@v4
with:
version: "latest"

- name: Install Python dependencies
run: pip install black flake8
run: pip install black flake8 pylint

- name: Run linters
uses: wearerequired/lint-action@v2
with:
auto_fix: false
black: true
flake8: false

- name: Analysing the code with pylint
run: |
uv run pylint $(git ls-files '*.py')

0 comments on commit 767f397

Please sign in to comment.