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:
Bobby R. Bruce
2023-10-09 13:40:03 -07:00
parent 83af4525ce
commit 298119e402
188 changed files with 741 additions and 779 deletions

View File

@@ -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):