Skip to content

Commit 1a60297

Browse files
committed
PyLint 2.3
Signed-off-by: Aleksei Stepanov <penguinolog@gmail.com> (cherry picked from commit 437daa9) Signed-off-by: Aleksei Stepanov <penguinolog@gmail.com>
1 parent 6917ca7 commit 1a60297

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
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" isort[pyproject,requirements]
71+
- pip install --upgrade "pylint >= 2.3" isort[pyproject,requirements]
7272
script:
7373
- pylint exec_helpers
7474
- <<: *static_analysis

exec_helpers/ssh_auth.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -174,9 +174,8 @@ def connect(
174174
if self.__password is None:
175175
logger.exception("No password has been set!")
176176
raise
177-
else:
178-
logger.critical("Unexpected PasswordRequiredException, when password is set!")
179-
raise
177+
logger.critical("Unexpected PasswordRequiredException, when password is set!")
178+
raise
180179
except (paramiko.AuthenticationException, paramiko.BadHostKeyException):
181180
continue
182181
msg = "Connection using stored authentication info failed!"

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ commands = pip install ./ -vvv -U
8080
[testenv:pylint]
8181
usedevelop = False
8282
deps =
83-
pylint>=2.2
83+
pylint>=2.3
8484
isort[pyproject,requirements]
8585
-r{toxinidir}/CI_REQUIREMENTS.txt
8686
commands = pylint exec_helpers

0 commit comments

Comments
 (0)