We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 65e8b46 commit d2f59cfCopy full SHA for d2f59cf
.github/workflows/pylint.yml
@@ -0,0 +1,33 @@
1
+name: Pylint
2
+
3
+on:
4
+ push:
5
+ branches: [ main ]
6
+ pull_request:
7
8
9
+jobs:
10
+ lint:
11
+ runs-on: ubuntu-latest
12
13
+ strategy:
14
+ matrix:
15
+ python-version: [3.8, 3.9, 3.10]
16
17
+ steps:
18
+ - name: 📥 Checkout code
19
+ uses: actions/checkout@v4
20
21
+ - name: 🐍 Set up Python ${{ matrix.python-version }}
22
+ uses: actions/setup-python@v5
23
+ with:
24
+ python-version: ${{ matrix.python-version }}
25
26
+ - name: 📦 Install dependencies
27
+ run: |
28
+ python -m pip install --upgrade pip
29
+ pip install pylint
30
31
+ - name: 🧪 Run pylint
32
33
+ pylint $(git ls-files '*.py') || true # prevent CI failure on warnings
0 commit comments