Skip to content

Commit ad13210

Browse files
authored
Merge pull request #163 from Gallaecio/pylint
Add a PyLint CI pipeline
2 parents 2581075 + 677a2e5 commit ad13210

File tree

3 files changed

+32
-0
lines changed

3 files changed

+32
-0
lines changed

.travis.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ matrix:
1010
env: TOXENV=security
1111
- python: 3.8
1212
env: TOXENV=flake8
13+
- python: 3.8
14+
env: TOXENV=pylint
1315
- python: 2.7
1416
env: TOXENV=py27
1517
- python: pypy

pylintrc

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
[MASTER]
2+
persistent=no
3+
4+
[MESSAGES CONTROL]
5+
disable=bad-continuation,
6+
c-extension-no-member,
7+
import-error,
8+
invalid-name,
9+
line-too-long,
10+
missing-class-docstring,
11+
missing-function-docstring,
12+
missing-module-docstring,
13+
no-else-return,
14+
no-member,
15+
no-self-use,
16+
parse-error,
17+
redefined-builtin,
18+
too-few-public-methods,
19+
too-many-arguments,
20+
unidiomatic-typecheck,
21+
useless-object-inheritance, # Required for Python 2 support
22+
wrong-import-position

tox.ini

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,14 @@ deps =
2222
commands =
2323
pytest --flake8
2424

25+
[testenv:pylint]
26+
basepython = python3.8
27+
deps =
28+
{[testenv]deps}
29+
pylint
30+
commands =
31+
pylint docs parsel setup.py tests
32+
2533
[docs]
2634
changedir = docs
2735
deps = -rdocs/requirements.txt

0 commit comments

Comments
 (0)