-
Notifications
You must be signed in to change notification settings - Fork 0
29 lines (29 loc) · 996 Bytes
/
pylint.yml
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
name: Pylint check
on: [push]
jobs:
pylint:
runs-on: ubuntu-latest
steps:
- name: Setup Python
uses: actions/[email protected]
with:
python-version: 3.8
architecture: x64
- name: Check out repository code
uses: actions/checkout@v2
- name: Install pylint
run: |
pip install pylint
- name: Run pylint (enforced for selected files)
run: |
pylint --disable=R auto_LiRPA/bound_general.py
pylint --disable=R auto_LiRPA/optimized_bounds.py
pylint --disable=R auto_LiRPA/interval_bound.py
pylint --disable=R auto_LiRPA/linear_bound.py
pylint --disable=R auto_LiRPA/jacobian.py
pylint --disable=R complete_verifier/abcrown.py
pylint --disable=R complete_verifier/utils.py
pylint --disable=R complete_verifier/bab.py
- name: Run pylint (not enforced)
run: |
pylint --disable=R auto_LiRPA || true