misc,python: Run pre-commit run --all-files
Applies the `pyupgrade` hook to all files in the repo. Change-Id: I9879c634a65c5fcaa9567c63bc5977ff97d5d3bf
This commit is contained in:
@@ -49,7 +49,7 @@ from .model import Id, BlobModel, BlobDataSelect, special_state_chars
|
||||
from . import blobs
|
||||
|
||||
|
||||
class BlobView(object):
|
||||
class BlobView:
|
||||
"""The canvas view of the pipeline"""
|
||||
|
||||
def __init__(self, model):
|
||||
@@ -189,7 +189,7 @@ class BlobView(object):
|
||||
self.da.set_size_request(10, int(self.initialHeight))
|
||||
|
||||
|
||||
class BlobController(object):
|
||||
class BlobController:
|
||||
"""The controller bar for the viewer"""
|
||||
|
||||
def __init__(
|
||||
@@ -361,7 +361,7 @@ class BlobController(object):
|
||||
self.view.redraw()
|
||||
|
||||
|
||||
class Overlay(object):
|
||||
class Overlay:
|
||||
"""An Overlay is a speech bubble explaining the data in a blob"""
|
||||
|
||||
def __init__(self, model, view, point, blob):
|
||||
@@ -456,7 +456,7 @@ class Overlay(object):
|
||||
text_point += text_step
|
||||
|
||||
|
||||
class BlobWindow(object):
|
||||
class BlobWindow:
|
||||
"""The top-level window and its mouse control"""
|
||||
|
||||
def __init__(self, model, view, controller):
|
||||
|
||||
Reference in New Issue
Block a user