-
Notifications
You must be signed in to change notification settings - Fork 504
47 lines (46 loc) · 959 Bytes
/
pylint.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
name: Pylint
on:
push:
branches:
- main
- dev
# file paths to consider in the event
paths:
- 'examples/**'
- 'gptcache/**'
- 'tests/**'
- 'docs/**'
- '!**.md'
- '.github/workflows/**'
pull_request:
branches:
- main
- dev
# file paths to consider in the event
paths:
- 'examples/**'
- 'gptcache/**'
- 'tests/**'
- 'docs/**'
- '!**.md'
- '.github/workflows/**'
workflow_dispatch:
jobs:
pylint:
runs-on: ubuntu-20.04
steps:
- uses: actions/[email protected]
- name: Setup Python
uses: actions/[email protected]
with:
python-version: 3.8
- name: Python pylint
run: |
pip install pylint==2.10.2
make pylint_check
- name: Make the readthedoc html
shell: bash
working-directory: docs
run: |
pip install -r requirements.txt
make html