PEP8 fixes for the utils module. Fixes #3076

This commit is contained in:
Murtuza Zabuawala
2018-01-31 13:58:55 +00:00
committed by Dave Page
parent c6e405ce72
commit c3ddb7df38
23 changed files with 1075 additions and 461 deletions
@@ -1,6 +1,7 @@
"""
Using Completion class from
https://github.com/jonathanslenders/python-prompt-toolkit/blob/master/prompt_toolkit/completion.py
https://github.com/jonathanslenders/python-prompt-toolkit/
blob/master/prompt_toolkit/completion.py
"""
from __future__ import unicode_literals
@@ -50,7 +51,9 @@ class Completion(object):
self.display_meta == other.display_meta)
def __hash__(self):
return hash((self.text, self.start_position, self.display, self.display_meta))
return hash(
(self.text, self.start_position, self.display, self.display_meta)
)
@property
def display_meta(self):