File tree 1 file changed +23
-19
lines changed
1 file changed +23
-19
lines changed Original file line number Diff line number Diff line change @@ -2,22 +2,26 @@ name: Pylint
2
2
3
3
on : [push]
4
4
5
- # jobs:
6
- # build:
7
- # runs-on: ubuntu-latest
8
- # strategy:
9
- # matrix:
10
- # python-version: ["3.8", "3.9", "3.10"]
11
- # steps:
12
- # - uses: actions/checkout@v4
13
- # - name: Set up Python ${{ matrix.python-version }}
14
- # uses: actions/setup-python@v3
15
- # with:
16
- # python-version: ${{ matrix.python-version }}
17
- # - name: Install dependencies
18
- # run: |
19
- # python -m pip install --upgrade pip
20
- # pip install pylint
21
- # - name: Analysing the code with pylint
22
- # run: |
23
- # pylint $(git ls-files '*.py')
5
+ jobs :
6
+
7
+ build :
8
+ runs-on : ubuntu-latest
9
+ strategy :
10
+ matrix :
11
+ python-version : ["3.8", "3.9", "3.10"]
12
+ steps :
13
+ - uses : actions/checkout@v4
14
+ - name : Set up Python ${{ matrix.python-version }}
15
+ uses : actions/setup-python@v3
16
+ with :
17
+ python-version : ${{ matrix.python-version }}
18
+ - name : Install dependencies
19
+ run : |
20
+ python -m pip install --upgrade pip
21
+ pip install pylint mysqlclient
22
+ - name : Check for compile errors with pylint
23
+ run : |
24
+ pylint -E $(git ls-files '*.py')
25
+ # - name: Full code analysis with pylint
26
+ # run: |
27
+ # pylint $(git ls-files '*.py')
You can’t perform that action at this time.
0 commit comments