File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -7,6 +7,26 @@ name: CI
77on : [push, pull_request]
88
99jobs :
10+ linter :
11+ runs-on : ubuntu-latest
12+ strategy :
13+ matrix :
14+ python-version : ["3.x"]
15+ steps :
16+ - uses : actions/checkout@v3
17+ - name : Set up Python ${{ matrix.python-version }}
18+ uses : actions/setup-python@v4
19+ with :
20+ python-version : ${{ matrix.python-version }}
21+ - name : Install dependencies
22+ run : |
23+ python -m pip install --upgrade pip
24+ pip install -r requirements.txt -r test-requirements.txt setuptools
25+ - name : Lint
26+ run : |
27+ pylint --output-format colorized --rcfile .pylintrc \
28+ bugzilla-cli setup.py bugzilla examples tests
29+
1030 build :
1131 # We stick with 20.04 to get access to python 3.6
1232 # https://github.com/actions/setup-python/issues/544
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ score=no
1919
2020[FORMAT]
2121# Maximum number of characters on a single line.
22- max-line-length =80
22+ max-line-length =100
2323
2424# String used as indentation unit. This is usually " " (4 spaces) or "\t" (1
2525# tab).
Original file line number Diff line number Diff line change 11# additional packages needed for testing
22pytest
3+ pylint<3.1
4+ pycodestyle<2.12
You can’t perform that action at this time.
0 commit comments