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