Upgrade pylint to version 2.1.1. (#47036)

* Fix issues reported by the latest pylint.
* Split pylint runs into more contexts.
* Upgrade pylint.
This commit is contained in:
Matt Clay 2018-10-14 22:59:52 -07:00 committed by GitHub
parent 9ddceaf78d
commit 76bf861308
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 76 additions and 23 deletions

View file

@ -448,7 +448,7 @@ class TestTarget(CompletionTarget):
if module_path and path.startswith(module_path) and name != '__init__' and ext in MODULE_EXTENSIONS:
self.module = name[len(module_prefix or ''):].lstrip('_')
self.modules = self.module,
self.modules = (self.module,)
else:
self.module = None
self.modules = tuple()