Skip to content

Commit 6917ca7

Browse files
committed
Optimize CI
Signed-off-by: Aleksei Stepanov <penguinolog@gmail.com> (cherry picked from commit 66606da) Signed-off-by: Aleksei Stepanov <penguinolog@gmail.com>
1 parent 65f1930 commit 6917ca7

File tree

2 files changed

+11
-10
lines changed

2 files changed

+11
-10
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ jobs:
6868
install:
6969
- *upgrade_python_toolset
7070
- *install_deps
71-
- pip install --upgrade "pylint >= 2.2"
71+
- pip install --upgrade "pylint >= 2.2" isort[pyproject,requirements]
7272
script:
7373
- pylint exec_helpers
7474
- <<: *static_analysis

tox.ini

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,8 @@ commands = pip install ./ -vvv -U
8080
[testenv:pylint]
8181
usedevelop = False
8282
deps =
83-
pylint>=2
83+
pylint>=2.2
84+
isort[pyproject,requirements]
8485
-r{toxinidir}/CI_REQUIREMENTS.txt
8586
commands = pylint exec_helpers
8687

@@ -98,16 +99,16 @@ exclude =
9899
docs
99100
ignore =
100101
E203,
101-
W503
102-
D401,
103-
D202,
104-
D203,
105-
D213
106102
# whitespace before ':'
103+
W503,
107104
# line break before binary operator
105+
D401,
108106
# First line should be in imperative mood; try rephrasing
107+
D202,
109108
# No blank lines allowed after function docstring
109+
D203,
110110
# 1 blank line required before class docstring
111+
D213
111112
# Multi-line docstring summary should start at the second line
112113
show-pep8 = True
113114
show-source = True
@@ -117,12 +118,12 @@ max-line-length = 120
117118
[pydocstyle]
118119
ignore =
119120
D401,
120-
D202,
121-
D203,
122-
D213
123121
# First line should be in imperative mood; try rephrasing
122+
D202,
124123
# No blank lines allowed after function docstring
124+
D203,
125125
# 1 blank line required before class docstring
126+
D213
126127
# Multi-line docstring summary should start at the second line
127128

128129
[testenv:docs]

0 commit comments

Comments
 (0)