mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-05-02 15:21:25 -07:00
Fix ansible-test pylint and pep8 issues. (#24245)
* Fix pylint useless-super-delegation issues. * Fix miscellaneous pylint issues. * Fix PEP 8 issues. * Fix warnings reported by PyCharm.
This commit is contained in:
parent
a93aa6dc04
commit
6522d703a1
15 changed files with 22 additions and 71 deletions
|
@ -323,8 +323,8 @@ class CompletionTarget(object):
|
|||
def __eq__(self, other):
|
||||
if isinstance(other, CompletionTarget):
|
||||
return self.__repr__() == other.__repr__()
|
||||
else:
|
||||
return False
|
||||
|
||||
return False
|
||||
|
||||
def __ne__(self, other):
|
||||
return not self.__eq__(other)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue