Skip to content

Commit 40ef12e

Browse files
CI: Enforce Pylint rules
1 parent 0980477 commit 40ef12e

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

.github/workflows/test.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,3 +153,20 @@ jobs:
153153
run: exit 1
154154
- name: Success
155155
run: echo Success!
156+
157+
pylint:
158+
name: Pylint
159+
runs-on: ubuntu-latest
160+
steps:
161+
- uses: actions/checkout@v5
162+
- name: Set up Python
163+
uses: actions/setup-python@v6
164+
with:
165+
python-version: '3.*'
166+
- name: Install Pylint
167+
run: |
168+
python -m pip install --upgrade pip
169+
pip install pylint
170+
- name: Analyse the code with Pylint
171+
run: |
172+
pylint .

0 commit comments

Comments
 (0)