Skip to content

Commit b27c094

Browse files
committed
add pylint ci job
1 parent c4cb961 commit b27c094

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

project_name/.github/workflows/ci.yml.jinja

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,25 @@ jobs:
6868
- name: Run mypy
6969
run: uv run --no-sync mypy
7070

71+
pylint:
72+
if: {% raw %}${{ always() }}{% endraw %}
73+
runs-on: ubuntu-latest
74+
continue-on-error: true
75+
steps:
76+
- uses: actions/checkout@v4
77+
- uses: astral-sh/setup-uv@v5
78+
- name: Install packages
79+
run: >-
80+
uv sync
81+
--all-extras
82+
--no-default-groups
83+
--exact
84+
--locked
85+
- name: List packages
86+
run: uv pip list
87+
- name: Run Pylint
88+
run: uv run --no-sync --with pylint pylint src
89+
7190
test:
7291
if: {% raw %}${{ always() }}{% endraw %}
7392
runs-on: {% raw %}${{ matrix.os }}{% endraw %}

0 commit comments

Comments
 (0)