Skip to content

Commit f039a6f

Browse files
committed
workflow/pylint: copy default
1 parent 36eb7e5 commit f039a6f

File tree

2 files changed

+25
-31
lines changed

2 files changed

+25
-31
lines changed

.forgejo/workflows/pylint.yml

Lines changed: 0 additions & 31 deletions
This file was deleted.

.github/workflows/pylint.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
---
2+
# based on the default 'pylint.yml' for Actions
3+
name: Pylint
4+
5+
on: [push]
6+
7+
jobs:
8+
build:
9+
runs-on: ubuntu-latest
10+
strategy:
11+
matrix:
12+
python-version: ["3.8", "3.9", "3.10", "3.11"]
13+
steps:
14+
- uses: actions/checkout@v3
15+
- name: Set up Python ${{ matrix.python-version }}
16+
uses: actions/setup-python@v3
17+
with:
18+
python-version: ${{ matrix.python-version }}
19+
- name: Install dependencies
20+
run: |
21+
python -m pip install --upgrade pip
22+
pip install pylint
23+
- name: Analysing the code with pylint
24+
run: |
25+
pylint $(git ls-files '*.py')

0 commit comments

Comments
 (0)