We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a132d59 commit b3a5bc4Copy full SHA for b3a5bc4
.github/workflows/pylint.yml
@@ -0,0 +1,28 @@
1
+name: Pylint
2
+
3
+on: [push]
4
5
+jobs:
6
+ build:
7
+ defaults:
8
+ run:
9
+ working-directory: demo/graphtutorial
10
11
+ runs-on: ubuntu-latest
12
+ strategy:
13
+ matrix:
14
+ python-version: ["3.8", "3.9", "3.10"]
15
+ steps:
16
+ - uses: actions/checkout@v3
17
+ - name: Set up Python ${{ matrix.python-version }}
18
+ uses: actions/setup-python@v3
19
+ with:
20
+ python-version: ${{ matrix.python-version }}
21
+ - name: Install dependencies
22
+ run: |
23
+ python -m pip install --upgrade pip
24
+ pip install -r requirements.txt
25
+ pip install pylint
26
+ - name: Analysing the code with pylint
27
28
+ pylint $(git ls-files '*.py')
0 commit comments