forked from NCSU-SE-2024/PackReview_v3
-
Notifications
You must be signed in to change notification settings - Fork 0
26 lines (24 loc) · 943 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
name: Pylint
on:
push:
branches: ["main"]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pylint
- name: Analysing the code with pylint
run: |
pylint --disable=global-statement,line-too-long,no-name-in-module,no-else-return,too-many-return-statements,inconsistent-return-statements,import-error,cyclic-import,no-member,unbalanced-tuple-unpacking,too-many-public-methods,too-few-public-methods,invalid-name,broad-exception-caught,wrong-import-order $(git ls-files '*.py' | grep -v '^migrations/')
continue-on-error: true