mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-05-09 02:31:30 -07:00
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:
parent
9ddceaf78d
commit
76bf861308
8 changed files with 76 additions and 23 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue