From 817fc3ce9cdc819a291e76ec324c4e748381f035 Mon Sep 17 00:00:00 2001
From: Josh Morman <jmorman@gnuradio.org>
Date: Wed, 24 Nov 2021 12:48:20 -0500
Subject: grc: pep8 formatting

Signed-off-by: Josh Morman <jmorman@gnuradio.org>
---
 grc/core/utils/epy_block_io.py | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

(limited to 'grc/core/utils/epy_block_io.py')

diff --git a/grc/core/utils/epy_block_io.py b/grc/core/utils/epy_block_io.py
index 58becc4f2b..9947fa4831 100644
--- a/grc/core/utils/epy_block_io.py
+++ b/grc/core/utils/epy_block_io.py
@@ -12,7 +12,8 @@ TYPE_MAP = {
     'int8': 'byte', 'uint8': 'byte',
 }
 
-BlockIO = collections.namedtuple('BlockIO', 'name cls params sinks sources doc callbacks')
+BlockIO = collections.namedtuple(
+    'BlockIO', 'name cls params sinks sources doc callbacks')
 
 
 def _ports(sigs, msgs):
@@ -72,11 +73,13 @@ def extract(cls):
 
     def settable(attr):
         try:
-            return callable(getattr(cls, attr).fset)  # check for a property with setter
+            # check for a property with setter
+            return callable(getattr(cls, attr).fset)
         except AttributeError:
             return attr in instance.__dict__  # not dir() - only the instance attribs
 
-    callbacks = [attr for attr in dir(instance) if attr in init_args and settable(attr)]
+    callbacks = [attr for attr in dir(
+        instance) if attr in init_args and settable(attr)]
 
     sinks = _ports(instance.in_sig(),
                    pmt.to_python(instance.message_ports_in()))
-- 
cgit v1.2.3