summaryrefslogtreecommitdiff
path: root/tools/template_convert.py
diff options
context:
space:
mode:
authorJosh Morman <jmorman@gnuradio.org>2021-11-24 12:50:30 -0500
committermormj <34754695+mormj@users.noreply.github.com>2021-11-24 14:41:53 -0500
commite426b9ad20dbbf41326c103b31a7418a80362b06 (patch)
treebcc027ecb0ea29088994e4e58f0ae4d4a802d1b0 /tools/template_convert.py
parent0cfb70212d219e8729b7fddb94f393f469665ecd (diff)
tools: pep8 formatting
Signed-off-by: Josh Morman <jmorman@gnuradio.org>
Diffstat (limited to 'tools/template_convert.py')
-rwxr-xr-xtools/template_convert.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/template_convert.py b/tools/template_convert.py
index 439d76e922..8f99f1a83d 100755
--- a/tools/template_convert.py
+++ b/tools/template_convert.py
@@ -12,7 +12,8 @@ template_regex = re.compile(
r"(?P<category>\w+)\s+(?P<name>\w+_XX?X?)(_impl)?\s+(?P<types>[\w\s]+)" + r"\)$")
cpp_keywords = ["abs", "add", "and", "max", "min" "not" "xor"]
-types = {"s": "std::int16_t", "i": "std::int32_t", "b": "std::uint8_t", "c": "gr_complex", "f": "float"}
+types = {"s": "std::int16_t", "i": "std::int32_t",
+ "b": "std::uint8_t", "c": "gr_complex", "f": "float"}
def get_real_name(block_definition):