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 f5b6800 commit fee1dacCopy full SHA for fee1dac
1 file changed
.github/workflows/pylint.yml
@@ -0,0 +1,36 @@
1
+name: Pylint
2
+
3
+on: [push, pull_request]
4
5
+jobs:
6
+ build:
7
+ runs-on: ubuntu-latest
8
+ strategy:
9
+ matrix:
10
+ python-version: ["3.10", "3.11"]
11
12
+ steps:
13
+ - uses: actions/checkout@v4
14
15
+ - name: Set up Python ${{ matrix.python-version }}
16
+ uses: actions/setup-python@v3
17
+ with:
18
+ python-version: ${{ matrix.python-version }}
19
20
+ - name: Cache pip
21
+ uses: actions/cache@v3
22
23
+ path: ~/.cache/pip
24
+ key: ${{ runner.os }}-pip-${{ hashFiles('requirements.txt') }}
25
+ restore-keys: |
26
+ ${{ runner.os }}-pip-
27
28
+ - name: Install dependencies
29
+ run: |
30
+ python -m pip install --upgrade pip
31
+ pip install -r requirements.txt
32
+ pip install pylint
33
34
+ - name: Pylint code check
35
36
+ python -m pylint $(git ls-files '*.py')
0 commit comments