Skip to content

Commit b6071e3

Browse files
authored
Add pylint to tox and ci. (#808)
1 parent 1f5a1f2 commit b6071e3

File tree

3 files changed

+17
-1
lines changed

3 files changed

+17
-1
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,9 @@ jobs:
179179
fail-fast: false
180180
matrix:
181181
task:
182+
- name: pylint
183+
tox: pylint
184+
continue_on_error: true
182185
- name: flake8
183186
tox: flake8
184187
continue_on_error: true

requirements-checks.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
flake8 >= 2.6.0
33
flake8-docstrings >= 0.2.8
44
pyflakes >= 1.2.3
5-
pylint
5+
pylint >=2.13.3

tox.ini

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,16 @@ passenv =
1818
setenv =
1919
with_gmp=no
2020

21+
[testenv:pylint]
22+
deps =
23+
-r requirements-tests.txt
24+
-r requirements-checks.txt
25+
-r requirements-docs.txt
26+
-r requirements.txt
27+
ignore_errors = true
28+
commands =
29+
pylint doc examples pymodbus test
30+
2131
[testenv:flake8]
2232
deps = -r requirements-checks.txt
2333
commands =
@@ -46,3 +56,6 @@ commands =
4656
exclude = .tox
4757
ignore = D211,D400,E731
4858
max-line-length = 120
59+
60+
[pylint]
61+

0 commit comments

Comments
 (0)