File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -5,19 +5,21 @@ on: [push]
55jobs :
66 build :
77 runs-on : ubuntu-latest
8- strategy :
9- matrix :
10- python-version : ["3.8", "3.9", "3.10"]
8+ env :
9+ FORCE_JAVASCRIPT_ACTIONS_TO_NODE24 : " true"
1110 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')
11+ - uses : actions/checkout@v4
12+ - name : Set up Python
13+ uses : actions/setup-python@v5
14+ with :
15+ python-version : " 3.12"
16+ - name : Install dependencies
17+ run : |
18+ python -m pip install --upgrade pip
19+ pip install -r requirements.txt
20+ pip install pylint
21+ - name : Run pylint
22+ env :
23+ PYTHONPATH : ${{ github.workspace }}
24+ run : |
25+ pylint src/ tests/ --exit-zero
Original file line number Diff line number Diff line change 1+ [MESSAGES CONTROL]
2+ disable =
3+ C0114, # missing-module-docstring
4+ C0115, # missing-class-docstring
5+ C0116, # missing-function-docstring
6+ C0301, # line-too-long
7+ C0305, # trailing-newlines
8+ R0903, # too-few-public-methods
9+ W0611, # unused-import
10+ E0401, # import-error (false positives in CI / src layout)
11+ R0801, # duplicate-code
12+
13+ [FORMAT]
14+ max-line-length =120
15+
16+ [BASIC]
17+ good-names =i,j,id,db,_
You can’t perform that action at this time.
0 commit comments